home *** CD-ROM | disk | FTP | other *** search
/ Aminet 52 / Aminet 52 (2002)(GTI - Schatztruhe)[!][Dec 2002].iso / Aminet / dev / gg / libiconv-1.8.lha / ChangeLog < prev    next >
Text File  |  2002-05-29  |  80KB  |  1,939 lines

  1. 2002-05-29  Bruno Haible  <bruno@clisp.org>
  2.  
  3.     * Version 1.8 released.
  4.  
  5. 2002-05-26  Bruno Haible  <bruno@clisp.org>
  6.  
  7.     * lib/c99.h: New file.
  8.     * lib/converters.h: Include it.
  9.     * lib/encodings.def (C99): New encoding.
  10.     * README, man/iconv_open.3: Document C99 encoding.
  11.  
  12. 2002-05-26  Bruno Haible  <bruno@clisp.org>
  13.  
  14.     * lib/java.h (java_mbtowc): Accept 12-byte sequences for non-BMP
  15.     characters.
  16.     (java_wctomb): Produce 12-byte sequences for non-BMP characters.
  17.  
  18. 2002-05-29  Bruno Haible  <bruno@clisp.org>
  19.  
  20.     Fix installation of iconv program when linked with a libintl that was
  21.     built against an earlier libiconv.
  22.     * src/iconv.c: Conditionally disable NLS.
  23.     * src/iconv_no_i18n.c: New file.
  24.     * src/Makefile.in (libdir): New variable.
  25.     (all): Depend on iconv_no_i18n, iconv.@OBJEXT@ but not iconv. Make
  26.     directory writable, so iconv executable can be created during "make
  27.     install".
  28.     (iconv): Remove rule.
  29.     (iconv_no_i18n, iconv_no_i18n.@OBJEXT@): New rules.
  30.     (install): Link iconv now, after the new libiconv.so is installed.
  31.     (clean): Also remove iconv_no_i18n.
  32.     * tests/Makefile.in: (check, check-extra-yes): Depend on iconv_no_i18n,
  33.     not iconv.
  34.     * tests/check-stateful: Use iconv_no_i18n, not iconv.
  35.     * tests/check-translit: LIkewise.
  36.     * tests/check-translitfailure: Likewise.
  37.  
  38. 2002-05-29  Bruno Haible  <bruno@clisp.org>
  39.  
  40.     * configure.in: Call AC_PROG_INSTALL instead of CL_PROG_INSTALL.
  41.     * m4/install.m4: Remove file.
  42.     * Makefile.devel (autoconf/aclocal.m4): Don't depend on m4/install.m4.
  43.  
  44. 2002-05-24  Bruno Haible  <bruno@clisp.org>
  45.  
  46.     * lib/jisx0213.h: Use 'inline' only conditionally.
  47.  
  48. 2002-05-18  Bruno Haible  <bruno@clisp.org>
  49.  
  50.         * configure.in (AC_INIT), include/iconv.h.in (_LIBICONV_VERSION),
  51.     README, windows/iconv.rc, djgpp/README, djgpp/fnchange.lst:
  52.         Bump version number.
  53.         * lib/Makefile.in (LIBICONV_VERSION_INFO): Define to 3:0:1.
  54.  
  55. 2002-02-06  Bruno Haible  <bruno@clisp.org>
  56.  
  57.     * autoconf/ltmain.sh: Upgrade from libtool-1.4 to libtool-1.4.2.
  58.  
  59. 2002-02-02  Bruno Haible  <bruno@clisp.org>
  60.  
  61.     * autoconf/ltmain.sh: Add DESTDIR support on ELF systems.
  62.  
  63. 2001-11-03  Bruno Haible  <haible@clisp.cons.org>
  64.  
  65.     * autoconf/ltmain.sh: chmod 777 the .libs directory, so that
  66.     "make install" succeeds.
  67.  
  68. 2002-05-18  Bruno Haible  <bruno@clisp.org>
  69.  
  70.     * src/Makefile.in (iconv): Remove the -liconv dependency of -lintl
  71.     from the command line. Needed to ensure that the new libiconv version
  72.     is used on FreeBSD.
  73.  
  74. 2002-05-14  Bruno Haible  <bruno@clisp.org>
  75.  
  76.     Implement and document CP853, TDS565, RISCOS-LATIN1.
  77.     * tools/Makefile (ALL): Add cp853.h, tds565.h, riscos1.h.
  78.     (cp853.h, tds565.h, riscos1.h): New rules.
  79.     * lib/cp853.h: New file.
  80.     * lib/tds565.h: New file.
  81.     * lib/riscos1.h: New file.
  82.     * lib/converters.h: Include them.
  83.     * lib/encodings_dos.def (CP853): New encoding.
  84.     * lib/encodings_extra.def (TDS565, RISCOS-LATIN1): New encodings.
  85.     * README, man/iconv_open.3: Add CP853, TDS565, RISCOS-LATIN1.
  86.     * tests/Makefile.in (check-extra-yes): Check CP853, TDS565,
  87.     RISCOS-LATIN1.
  88.     * tests/Makefile.msvc (check): Check CP853.
  89.     * tests/CP853.TXT: New file.
  90.     * tests/TDS565.TXT: New file.
  91.     * tests/RISCOS-LATIN1.TXT: New file.
  92.  
  93.     * lib/cp860.h (cp860_wctomb): Optimize.
  94.  
  95. 2002-05-12  Bruno Haible  <bruno@clisp.org>
  96.  
  97.     * tools/Makefile (ksc5601.h): Add two extra characters.
  98.     * lib/ksc5601.h: Regenerated.
  99.     * tests/EUC-KR.TXT: Add EURO SIGN and REGISTERED SIGN.
  100.     * tests/CP949.TXT: Likewise.
  101.     * tests/JOHAB.TXT: Likewise.
  102.  
  103. 2002-05-12  Bruno Haible  <bruno@clisp.org>
  104.  
  105.     * README: Mention extra encodings.
  106.     * man/iconv_open.3: Likewise. Improve formatting in text and html
  107.     output formats.
  108.  
  109. 2002-05-12  Bruno Haible  <bruno@clisp.org>
  110.  
  111.     * tests/SHIFT_JIS.TXT: Renamed from tests/SHIFT-JIS.TXT.
  112.  
  113. 2002-05-12  Bruno Haible  <bruno@clisp.org>
  114.  
  115.     * Makefile.devel (AUTOCONF): New variable.
  116.     (AUTOCONF_FILES): Remove autoconf/autoconf.m4f.
  117.     (configure): Use the AUTOCONF variable.
  118.     * autoconf/autoconf: Remove file.
  119.     * autoconf/autoconf.m4: Remove file.
  120.     * autoconf/autoconf.m4f: Remove file.
  121.  
  122. 2002-05-12  Bruno Haible  <bruno@clisp.org>
  123.  
  124.     * tools/JISX0213.TXT: New file.
  125.     * tools/cjk_tab_to_h.c (do_jisx0213): New function.
  126.     (main): Accept "jisx0213".
  127.     * tools/Makefile (all): Add jisx0213.h.
  128.     (jisx0213.h): New rule.
  129.     * lib/jisx0213.h: New file, generated by cjk_tab_to_h.
  130.     * lib/euc_jisx0213.h: New file.
  131.     * lib/shift_jisx0213.h: New file.
  132.     * lib/iso2022_jp3.h: New file.
  133.     * lib/converters.h: Include them.
  134.     * lib/encodings_extra.def (EUC-JISX0213, SHIFT_JISX0213,
  135.     ISO-2022-JP-3): New encodings.
  136.     * tests/EUC-JISX0213.TXT: New file.
  137.     * tests/SHIFT_JISX0213.TXT: New file.
  138.     * tests/ISO-2022-JP-3-snippet: New file.
  139.     * tests/ISO-2022-JP-3-snippet.UTF-8: New file.
  140.     * tests/Makefile.in (check-extra): Also check EUC-JISX0213,
  141.     SHIFT_JISX0213, ISO-2022-JP-3.
  142.     * tests/check-stateless: Add support for encodings which contain
  143.     precomposed Unicode characters, by eliminating precomposed characters
  144.     before the comparison.
  145.     * tests/table-from.c (main): Fix usage message.
  146.     * tests/table-to.c (main): Make it work for encodings for which the
  147.     "to" direction is stateful.
  148.  
  149. 2002-05-09  Bruno Haible  <bruno@clisp.org>
  150.  
  151.     New configure option --enable-extra-encodings.
  152.     * lib/encodings_extra.def: New file.
  153.     * lib/converters.h: Handle USE_EXTRA.
  154.     * lib/genaliases2.c (main): Handle USE_EXTRA.
  155.     * lib/genflags.c: Define USE_EXTRA.
  156.     (main): Include encodings_extra.def.
  157.     * lib/iconv.c: Handle ENABLE_EXTRA, conditionally set USE_EXTRA.
  158.     Handle USE_EXTRA.
  159.     * lib/config.h.in (ENABLE_EXTRA): New macro.
  160.     * configure.in: Accept option --enable-extra-encodings.
  161.     * Makefile.devel (all): Depend on lib/aliases_extra.h.
  162.     (lib/aliases_extra.h): New rule.
  163.     (lib/flags.h): Depend on lib/encodings_extra.def.
  164.     * tests/Makefile.in (check-extra, check-extra-no, check-extra-yes):
  165.     New rules.
  166.     (check): Invoke check-extra.
  167.     * tests/Makefile.msvc (check): Also check the DOS encodings.
  168.  
  169.     Support for testing the AIX encodings.
  170.     * tests/CP856.TXT: New file.
  171.     * tests/CP922.TXT: New file.
  172.     * tests/CP1046.TXT: New file.
  173.     * tests/CP1124.TXT: New file.
  174.     * tests/CP1129.TXT: New file.
  175.     * tests/CP1161.TXT, tests/CP1161.IRREVERSIBLE.TXT: New files.
  176.     * tests/CP1162.TXT: New file.
  177.     * tests/CP1163.TXT, tests/CP1163.IRREVERSIBLE.TXT: New files.
  178.  
  179.     Support for testing the OSF/1 encodings.
  180.     * tests/DEC-KANJI.TXT: New file.
  181.     * tests/DEC-HANYU.TXT, tests/DEC-HANYU.IRREVERSIBLE.TXT: New files.
  182.  
  183.     Support for testing the DOS encodings.
  184.     * tests/CP437.TXT: New file.
  185.     * tests/CP737.TXT: New file.
  186.     * tests/CP775.TXT: New file.
  187.     * tests/CP852.TXT: New file.
  188.     * tests/CP855.TXT: New file.
  189.     * tests/CP857.TXT: New file.
  190.     * tests/CP858.TXT: New file.
  191.     * tests/CP860.TXT: New file.
  192.     * tests/CP861.TXT: New file.
  193.     * tests/CP863.TXT: New file.
  194.     * tests/CP864.TXT: New file.
  195.     * tests/CP865.TXT: New file.
  196.     * tests/CP869.TXT: New file.
  197.     * tests/CP1125.TXT: New file.
  198.  
  199. 2002-05-09  Bruno Haible  <bruno@clisp.org>
  200.  
  201.     Implement more ASCII compatible DOS encodings.
  202.     * tools/Makefile (ALL): Add cp737.h, cp858.h, cp860.h, cp863.h.
  203.     (cp737.h, cp858.h, cp860.h, cp863.h): New rules.
  204.     * lib/cp737.h: New file.
  205.     * lib/cp858.h: New file.
  206.     * lib/cp860.h: New file.
  207.     * lib/cp863.h: New file.
  208.     * lib/converters.h: Include them.
  209.     * lib/encodings_dos.def (CP737, CP858, CP860, CP863): New encodings.
  210.  
  211. 2002-05-09  Bruno Haible  <bruno@clisp.org>
  212.  
  213.     Implement new ASCII compatible encodings from IBM.
  214.     * tools/Makefile (ALL): Add cp1161.h, cp1162.h, cp1163.h.
  215.     (cp1161.h, cp1162.h, cp1163.h): New rules.
  216.     * lib/cp1161.h: New file.
  217.     * lib/cp1162.h: New file.
  218.     * lib/cp1163.h: New file.
  219.     * lib/converters.h: Include them.
  220.     * lib/encodings_aix.def (CP1161, CP1162, CP1163): New encodings.
  221.  
  222. 2002-05-09  Bruno Haible  <bruno@clisp.org>
  223.  
  224.     Implement and document KOI8-T.
  225.     * tools/Makefile (ALL): Add koi8_t.h.
  226.     (koi8_t.h): New rule.
  227.     * lib/koi8_t.h: New file.
  228.     * lib/converters.h: Include it.
  229.     * lib/encodings.def (KOI8-T): New encoding.
  230.     * README, man/iconv_open.3: Add KOI8-T.
  231.     * tests/Makefile.in (tests): Check KOI8-T.
  232.     * tests/Makefile.os2 (tests): Likewise.
  233.     * tests/Makefile.msvc (tests): Likewise.
  234.     * tests/KOI8-T.TXT: New file.
  235.  
  236. 2002-05-09  Bruno Haible  <bruno@clisp.org>
  237.  
  238.     * tools/8bit_tab_to_h.c (main): Update copyright year.
  239.     * tools/cjk_variants.c (main): Likewise.
  240.  
  241. 2002-05-08  Bruno Haible  <bruno@clisp.org>
  242.  
  243.     * README.woe32: Renamed from README.win32.
  244.  
  245. 2002-05-08  Bruno Haible  <bruno@clisp.org>
  246.  
  247.     * lib/iconv.c: Enable DOS encodings also when compiling for Woe32,
  248.     because the Woe32 consoles use them.
  249.  
  250. 2002-05-04  Bruno Haible  <bruno@clisp.org>
  251.  
  252.     * lib/loop_unicode.h (unicode_loop_convert): When quitting the loop
  253.     without writing an output character, restore cd->istate to its value
  254.     before the xxx_mbtowc call. Otherwise we lose some characters during
  255.     CP1255/CP1258/TCVN to Unicode conversion.
  256.     (unicode_loop_reset): Likewise for the xxx_flushwc call.
  257.     * tests/CP1255-snippet, tests/CP1255-snippet.UTF-8: Make the test
  258.     files large enough to test against the bug.
  259.     * tests/CP1258-snippet, tests/CP1258-snippet.UTF-8: Likewise.
  260.     * tests/TCVN-snippet, tests/TCVN-snippet.UTF-8: Likewise.
  261.  
  262. 2002-04-28  Bruno Haible  <bruno@clisp.org>
  263.  
  264.     * tools/Makefile (armscii_8.h): Use table from glibc-2.2.90.
  265.     * tests/ARMSCII-8.TXT: Update to glibc-2.2.90 version.
  266.     * tests/ARMSCII-8.IRREVERSIBLE.TXT: Remove 0x0027.
  267.     * lib/armscii_8.h: Regenerated.
  268.  
  269. 2002-04-28  Bruno Haible  <bruno@clisp.org>
  270.  
  271.     * src/iconv.c: Include gettext.h.
  272.     (_): New macro.
  273.     (usage, print_version, convert, main): Internationalize.
  274.     (main): Call setlocale, bindtextdomain, textdomain.
  275.     * src/gettext.h: New file, from GNU gettext 0.11.2.
  276.     * src/config.h.in: New file, needed for ENABLE_NLS.
  277.     * src/Makefile.in (datadir, localedir): New variables.
  278.     (iconv): Link with @LTLIBINTL@.
  279.     (iconv.@OBJEXT@): Define LOCALEDIR.
  280.     (distclean): Remove config.h.
  281.     * po: New directory.
  282.     * Makefile.in (all, install, installdirs, uninstall, check,
  283.     mostlyclean, clean, distclean, maintainer-clean): Recurse into the po
  284.     directory.
  285.     * autoconf/mkinstalldirs: New file, from automake-1.5.
  286.     * ABOUT-NLS: New file, from GNU gettext 0.11.2.
  287.     * m4/codeset.m4: New file, from GNU gettext 0.11.2.
  288.     * m4/gettext.m4: New file, from GNU gettext 0.11.2.
  289.     * m4/glibc21.m4: New file, from GNU gettext 0.11.2.
  290.     * m4/isc-posix.m4: New file, from GNU gettext 0.11.2.
  291.     * m4/lcmessage.m4: New file, from GNU gettext 0.11.2.
  292.     * m4/progtest.m4: New file, from GNU gettext 0.11.2.
  293.     * configure.in: Require autoconf-2.52, needed for multiple config.h.in
  294.     files. Use new form of AC_INIT. Invoke AM_GNU_GETTEXT.
  295.     (PACKAGE, VERSION): Define, needed for po/Makefile.in.in.
  296.     * lib/config.h.in (HAVE_LOCALE_H, HAVE_SETLOCALE): Remove.
  297.  
  298. 2002-04-28  gettextize  <bug-gnu-gettext@gnu.org>
  299.  
  300.     * configure.in (AC_OUTPUT): Add po/Makefile.in.
  301.  
  302. 2002-04-28  Bruno Haible  <bruno@clisp.org>
  303.  
  304.     * m4/eilseq.m4: Renamed from autoconf/eilseq.m4.
  305.     * m4/mbstate_t.m4: Renamed from autoconf/mbstate_t.m4.
  306.     * m4/general.m4: New file, from GNU clisp.
  307.     * m4/proto.m4: New file, from GNU clisp.
  308.     * m4/ranlib.m4: New file, from GNU clisp.
  309.     * m4/install.m4: New file, from GNU clisp.
  310.     * m4/cp.m4: New file, from GNU clisp.
  311.     * m4/ln.m4: New file, from GNU clisp.
  312.     * m4/endian.m4: New file, from GNU clisp.
  313.     * m4/iconv.m4: New file, from GNU gettext 0.11.2.
  314.     * m4/lib-ld.m4: New file, from GNU gettext 0.11.2.
  315.     * m4/lib-link.m4: New file, from GNU gettext 0.11.2.
  316.     * m4/lib-prefix.m4: New file, from GNU gettext 0.11.2.
  317.     * autoconf/config.rpath: New file, from GNU gettext 0.11.2.
  318.     * m4/libtool.m4: New file, based on libtool-1.4.2.
  319.     * Makefile.devel (ACLOCAL): Remove variable.
  320.     (ACSELECT): Remove variable.
  321.     (OTHERMACROS): Remove variable.
  322.     (m4/*.m4): New rules.
  323.     (autoconf/aclocal.m4): Construct using aclocal instead of acselect.
  324.     * configure.in: Invoke AM_ICONV instead of CL_ICONV.
  325.  
  326. 2002-04-06  Bruno Haible  <bruno@clisp.org>
  327.  
  328.     Upgrade to Unicode 3.2.
  329.     * tools/cjk_tab_to_h.c (output_title): Bump copyright year.
  330.     (compact_large_charset2uni): Add an argument. Determine optimal shift.
  331.     Copy modified enc->charset2uni table.
  332.     (output_charset2uni): Deal with shift other than 8. Copy encoding, so
  333.     as to not disturb subsequent output_uni2charset[_sparse] call.
  334.     * lib/hkscs.h: Regenerated.
  335.     * tests/BIG5-HKSCS.TXT: Update.
  336.     * tests/BIG5-HKSCS.IRREVERSIBLE.TXT: Update.
  337.  
  338. 2002-04-06  Bruno Haible  <bruno@clisp.org>
  339.  
  340.     Upgrade to Unicode 3.2.
  341.     * tools/Makefile (cns11643_1.h, cns11643_2.h, cns11643_3.h,
  342.     cns11643_4a.h, cns11643_4b.h, cns11643_5.h, cns11643_6.h,
  343.     cns11643_7.h, cns11643_15.h, cns11643_inv.h): Use
  344.     CNS11643-Unicode32.TXT instead of CNS11643-Unicode31.TXT.
  345.     * lib/cns11643_3.h: Regenerated.
  346.     * lib/cns11643_4a.h: Regenerated.
  347.     * lib/cns11643_4b.h: Regenerated.
  348.     * lib/cns11643_5.h: Regenerated.
  349.     * lib/cns11643_6.h: Regenerated.
  350.     * lib/cns11643_7.h: Regenerated.
  351.     * lib/cns11643_15.h: Regenerated.
  352.     * lib/cns11643_inv.h: Regenerated.
  353.     * tests/EUC-TW.TXT: Update.
  354.  
  355. 2002-01-17  Bruno Haible  <bruno@clisp.org>
  356.  
  357.     * lib/tcvn.h (tcvn_2uni_1): Make it smaller.
  358.     (tcvn_mbtowc): Small optimization.
  359.  
  360. 2002-01-13  Bruno Haible  <bruno@clisp.org>
  361.  
  362.     New options -l, -c, -s.
  363.     * src/iconv.c (discard_unconvertible, silent): New variables.
  364.     (usage): Document options -l, -c, -s.
  365.     (print_one): New function.
  366.     (convert): If silent is true, don't print error messages about the
  367.     conversion to stderr. If discard_unconvertible is true, set the
  368.     iconv descriptor to DISCARD_ILSEQ the first time, but make sure to
  369.     return the same return code as when discard_unconvertible is false.
  370.     (main): Accept options -l, -c, -s. Implement option -l.
  371.     * man/iconv.1: Document options -l, -c, -s.
  372.  
  373. 2002-01-13  Bruno Haible  <bruno@clisp.org>
  374.  
  375.     Support for "iconv -c".
  376.     * include/iconv.h.in (ICONV_GET_DISCARD_ILSEQ): New macro.
  377.     (ICONV_SET_DISCARD_ILSEQ): Likewise.
  378.     * lib/converters.h (struct conv_struct): New field discard_ilseq.
  379.     * lib/iconv.c (iconv_open): Set discard_ilseq to true if tocode
  380.     has an "//IGNORE" suffix, and to false otherwise.
  381.     (iconvctl): Implement ICONV_GET_DISCARD_ILSEQ, ICONV_SET_DISCARD_ILSEQ.
  382.     * lib/loop_unicode.h (unicode_loop_convert): If discard_ilseq is
  383.     true, skip one input character instead of returning EILSEQ.
  384.     (unicode_loop_reset): Likewise.
  385.     * lib/loop_wchar.h (wchar_from_loop_convert): Likewise.
  386.     (wchar_to_loop_convert): Likewise.
  387.  
  388. 2002-01-13  Bruno Haible  <bruno@clisp.org>
  389.  
  390.     Support for "iconv -l".
  391.     * include/iconv.h.in (iconvlist): New declaration.
  392.     * Makefile.devel (lib/aliases.h): Change gperf options.
  393.     * lib/iconv.c (compare_by_index, compare_by_name, iconvlist): New
  394.     functions.
  395.  
  396. 2002-01-06  Bruno Haible  <bruno@clisp.org>
  397.  
  398.     * lib/loop_unicode.h (unicode_transliterate): If the transliteration
  399.     fails due to limited output encoding, return RET_ILUNI, not
  400.     RET_TOOSMALL. Reported by Nelson H. F. Beebe <beebe@math.utah.edu>.
  401.     * tests/check-translitfailure: New file.
  402.     * tests/TranslitFail1.ISO-8859-1: New file.
  403.     * tests/Makefile.in (check): Call check-translitfailure.
  404.  
  405. 2001-12-15  Bruno Haible  <bruno@clisp.org>
  406.  
  407.         * lib/euc_jp.h (euc_jp_wctomb): Add irreversible mappings for
  408.     Shift_JIS characters 0x5C and 0x7E.
  409.     * tests/EUC-JP.IRREVERSIBLE.TXT: New file.
  410.  
  411. 2001-12-05  Bruno Haible  <bruno@clisp.org>
  412.  
  413.     * lib/iconv.c (iconv_open): Recognize the empty encoding name. Avoid
  414.       endless loop if locale_charset() returns the empty string.
  415.     * README, man/iconv_open.3: Add the empty encoding name.
  416.  
  417. 2001-11-10  Bruno Haible  <haible@clisp.cons.org>
  418.  
  419.         * lib/Makefile.in (libiconv_plug_linux.so): Allow building it with a
  420.           non-gcc compiler.
  421.  
  422. 2001-10-23  Bruno Haible  <haible@clisp.cons.org>
  423.  
  424.         * tools/Makefile (cp1125.h): New target.
  425.           (ALL): Add it.
  426.         * lib/cp1125.h: New file.
  427.         * lib/converters.h: Include it.
  428.         * lib/encodings_dos.def (CP1125): New encoding.
  429.  
  430. 2001-09-08  Bruno Haible  <haible@clisp.cons.org>
  431.  
  432.     * autoconf/eilseq.m4: New file.
  433.     * Makefile.devel (OTHERMACROS): Add it.
  434.     * configure.in: Call AC_EILSEQ.
  435.     * include/iconv.h.in (EILSEQ): Define to the autoconf determined value.
  436.  
  437. 2001-08-25  Bruno Haible  <haible@clisp.cons.org>
  438.  
  439.     Upgrade to autoconf-2.52.
  440.     * autoconf/autoconf: Upgrade to autoconf-2.52.
  441.     * autoconf/acgeneral.m4: Remove file.
  442.     * autoconf/acspecific.m4: Remove file.
  443.     * autoconf/autoconf.m4f: New file, from autoconf-2.52.
  444.     * autoconf/aclocal.m4: Require autoconf-2.52.
  445.     (CL_CANONICAL_HOST): Call AC_CANONICAL_HOST. Don't cache the result,
  446.     AC_CANONICAL_HOST does it itself. Add $SHELL in front of
  447.     $ac_config_guess and $ac_config_sub.
  448.     * Makefile.devel (AUTOCONF_FILES): Remove acgeneral.m4, acspecific.m4.
  449.     Add autoconf.m4f.
  450.     (configure): Use autoconf options -A, -l instead of -m.
  451.     * configure.in: Use AC_CONFIG_SUBDIRS, not AC_OUTPUT_SUBDIRS.
  452.  
  453. 2001-08-05  Bruno Haible  <haible@clisp.cons.org>
  454.  
  455.     * autoconf/acgeneral.m4 (AC_MSG_RESULTPROTO): Remove macro.
  456.     (AC_LANG_EXTERN): Move to aclocal.m4.
  457.     * autoconf/aclocal.m4 (AC_LANG_EXTERN): Moved here from acgeneral.m4.
  458.     (CL_PROTO): Use AC_MSG_RESULT directly, instead of AC_MSG_RESULTPROTO.
  459.     (CL_SILENT): No need to pushdef AC_MSG_RESULTPROTO.
  460.  
  461. 2001-08-05  Bruno Haible  <haible@clisp.cons.org>
  462.  
  463.     Make it possible to build libiconv with CC=gcc CFLAGS="-x c++".
  464.     * lib/loop_wchar.h (wchar_to_loop_convert): Rename local variable
  465.     'try' to 'incount'.
  466.     * lib/Makefile.in (libiconv_plug_linux.so): Add "-x none" option
  467.     between sources and libs.
  468.     (libiconv_plug_solaris.so) [GCC]: Likewise.
  469.     (libiconv_plug_osf.so) [GCC]: Likewise.
  470.     * src/Makefile.in (iconv.@OBJEXT@): New rule.
  471.     (iconv): Depend on it.
  472.     (clean): Erase *.@OBJEXT@, not *.o.
  473.     * tests/Makefile.in (table-from.@OBJEXT@): New rule.
  474.     (table-from): Depend on it.
  475.     (table-to.@OBJEXT@): New rule.
  476.     (table-to): Depend on it.
  477.     (clean): Erase *.@OBJEXT@, not *.o.
  478.  
  479. 2001-07-28  Bruno Haible  <haible@clisp.cons.org>
  480.  
  481.     * tools/Makefile (iso8859_16.h): Generate from the unicode.org table.
  482.     * lib/iso8859_16.h: Regenerated.
  483.     * tests/ISO-8859-16.TXT: Swap the values of 0xA5 and 0xAB.
  484.  
  485. 2001-07-17  Bruno Haible  <haible@clisp.cons.org>
  486.  
  487.     * configure.in (VERSION): Define. Needed by djgpp/Makefile.maint.
  488.  
  489. 2001-07-03  Bruno Haible  <haible@clisp.cons.org>
  490.  
  491.     * configure.in: Also check for mbsinit.
  492.     * lib/loop_wchar.h (mbsinit): Define to 1 if not defined.
  493.     Needed for SCO 3.2v5.0.2.
  494.  
  495. 2001-06-27  Bruno Haible  <haible@clisp.cons.org>
  496.  
  497.     * Version 1.7 released.
  498.  
  499. 2001-06-27  Bruno Haible  <haible@clisp.cons.org>
  500.  
  501.     * INSTALL.generic (Particular Systems): Generalize section about
  502.     /usr/local to "most systems".
  503.  
  504.     * lib/Makefile.in (all): Build @PLUGLIB@ before libiconv.la, because
  505.     Solaris cc destroys iconv.o and iconv.lo while building
  506.     libiconv_plug_solaris.so.
  507.     (clean): Remove so_locations, left there by the OSF/1 linker.
  508.  
  509.     * lib/cp1255.h (cp1255_decomp): Use 'signed int' instead of 'int'.
  510.  
  511.     * lib/vietcomb.h (viet_decomp): Use 'unsigned int' instead of
  512.     'unsigned short'.
  513.  
  514.     * tests/table-from.c: Include string.h.
  515.     * tests/table-to.c: Likewise.
  516.  
  517. 2001-06-26  Bruno Haible  <haible@clisp.cons.org>
  518.  
  519.     * tools/Makefile (jisx0208.h): Replace U+005C with U+FF3C.
  520.     (jisx0212.h): Replace U+007E with U+FF5E.
  521.     * lib/jisx0208.h: Regenerated.
  522.     * lib/jisx0212.h: Regenerated.
  523.     * tests/EUC-JP.TXT: Map 0xA1C0 to U+FF3C. Map 0x8FA2B7 to U+FF5E.
  524.     * tests/EUC-JP.IRREVERSIBLE.TXT: Remove file.
  525.     * tests/SHIFT-JIS.TXT: Map 0x815F to U+FF3C.
  526.     * tests/CP932.TXT: Likewise.
  527.     * tests/CP932.IRREVERSIBLE.TXT: 0x815F mapping is now reversible.
  528.  
  529. 2001-06-25  Bruno Haible  <haible@clisp.cons.org>
  530.  
  531.     * src/Makefile.in (iconv): Mention $(INCLUDES) before $(CFLAGS) and
  532.     $(CPPFLAGS).
  533.     * src/Makefile.msvc (iconv.exe): Likewise.
  534.     * src/Makefile.os2 (iconv.exe): Likewise.
  535.     * lib/Makefile.in (libiconv_plug_linux.so): Likewise.
  536.     (libiconv_plug_solaris.so): Likewise.
  537.     (libiconv_plug_osf.so): Likewise.
  538.     (iconv.lo): Likewise.
  539.     * lib/Makefile.msvc (iconv.obj): Likewise.
  540.     * lib/Makefile.os2 (iconv.obj): Likewise.
  541.     * tests/Makefile.in (table-from, table-to): Likewise.
  542.     * tests/Makefile.msvc (table-from.exe, table-to.exe): Likewise.
  543.     * tests/Makefile.os2 (table-from.exe, table-to.exe): Likewise.
  544.     (genutf8.exe): Don't use $(INCLUDES).
  545.  
  546. 2001-06-25  Bruno Haible  <haible@clisp.cons.org>
  547.  
  548.         * include/iconv.h.in (_LIBICONV_VERSION), README, windows/iconv.rc:
  549.           Bump version number.
  550.         * lib/Makefile.in (LIBICONV_VERSION_INFO): Define to 2:4:0.
  551.  
  552. 2001-06-25  Bruno Haible  <haible@clisp.cons.org>
  553.  
  554.         * Makefile.devel (OTHERMACROS): Use libtool.m4 in libcharset subdir.
  555.  
  556. 2001-06-25  Bruno Haible  <haible@clisp.cons.org>
  557.  
  558.         * lib/encodings.def: Make SHIFT_JIS the primary name of SJIS.
  559.  
  560. 2001-06-08  Bruno Haible  <haible@clisp.cons.org>
  561.  
  562.         * autoconf/ltmain.sh: Upgrade to libtool-1.4.
  563.         * autoconf/ltconfig: Remove file.
  564.  
  565. 2001-06-08  Bruno Haible  <haible@clisp.cons.org>
  566.  
  567.         * autoconf/config.guess: Update to GNU version 2001-05-11.
  568.         * autoconf/config.sub: Likewise.
  569.  
  570. 2001-06-03  Bruno Haible  <haible@clisp.cons.org>
  571.  
  572.         * lib/loop_unicode.h (unicode_loop_convert): Ignore Unicode 3.1 tag
  573.           characters if they cannot be converted.
  574.           (unicode_loop_reset): Likewise.
  575.         * lib/iso2022_jp2.h (STATE_TAG_NONE, STATE_TAG_LANGUAGE,
  576.            STATE_TAG_LANGUAGE_j, STATE_TAG_LANGUAGE_ja, STATE_TAG_LANGUAGE_k,
  577.            STATE_TAG_LANGUAGE_ko, STATE_TAG_LANGUAGE_z, STATE_TAG_LANGUAGE_zh):
  578.           New macros.
  579.           (SPLIT_STATE, COMBINE_STATE): Different differently for wctomb
  580.           direction.
  581.           (iso2022_jp2_wctomb): Keep track of Unicode 3.1 language tag.
  582.           If "ja", prefer conversion to Japanese character sets. If "zh",
  583.           prefer conversion to GB2312. If "ko", prefer conversion to KSC5601.
  584.  
  585.         * lib/converters.h (RET_ILUNI): Change value from 0 to -1.
  586.           (RET_TOOSMALL): Change value from -1 to -2.
  587.         * lib/loop_unicode.h (unicode_transliterate): Allow xxx_wctomb to
  588.           return 0 written bytes.
  589.  
  590. 2001-06-06  Bruno Haible  <haible@clisp.cons.org>
  591.  
  592.         * lib/encodings.def: Align with IANA character-set registry.
  593.           (US-ASCII): Add alias "ANSI_X3.4-1986".
  594.           (ISO-8859-14): Add alias "ISO-CELTIC".
  595.           (JIS_X0208): Add alias "JIS_C6226-1983".
  596.           (BIG5HKSCS): Add alias "BIG5-HKSCS".
  597.         * README, man/iconv_open.3: Rename BIG5HKSCS to BIG5-HKSCS.
  598.         * tests/Makefile.in (check): Likewise.
  599.         * tests/Makefile.os2 (check): Likewise.
  600.         * tests/Makefile.msvc (check): Likewise.
  601.         * tests/BIG5-HKSCS.TXT: Renamed from BIG5HKSCS.TXT.
  602.         * tests/BIG5-HKSCS.IRREVERSIBLE.TXT: Renamed from
  603.           BIG5HKSCS.IRREVERSIBLE.TXT.
  604.  
  605. 2001-06-02  Bruno Haible  <haible@clisp.cons.org>
  606.  
  607.         * tools/cjk_tab_to_h.c (Encoding): Add fffd field.
  608.           (is_charset2uni_large, compact_large_charset2uni): New functions.
  609.           (find_charset2uni_pages): Use enc->fffd instead of 0xfffd.
  610.           (output_charset2uni): If mapping to more than the Unicode BMP,
  611.           use an extra indirection to keep each value in 16 bits.
  612.           (invert): Bump limit from U+10000 to U+30000.
  613.           (output_uni2charset_dense): Likewise.
  614.           (output_uni2charset_sparse): Likewise. If mapping to more than one
  615.           CJK plane, use three bytes per value instead of two bytes.
  616.           (byte_row_cns11643): Allow more than 3 CJK planes.
  617.           (do_cns11643_only_uni2charset): Increase number of rows, to include
  618.           plane 15. Remove plane bits hack.
  619.           (main): Accept names cns11643_4a,4b,5,6,7,15 as well.
  620.         * tools/Makefile (ALL): Add cns11643_4a.h, cns11643_4b.h, cns11643_5.h,
  621.           cns11643_6.h, cns11643_7.h, cns11643_15.h.
  622.           (cns11643_1.h, cns11643_2.h, cns11643_3.h): Use new Unicode 3.1
  623.           derived table.
  624.           (cns11643_4a.h, cns11643_4b.h, cns11643_5.h, cns11643_6.h,
  625.            cns11643_7.h, cns11643_15.h): New rules.
  626.           (cns11643_inv.h): Change title.
  627.         * lib/cns11643_1.h: Regenerated from Unicode 3.1 derived table.
  628.         * lib/cns11643_3.h: Likewise.
  629.         * lib/cns11643_4a.h: New file.
  630.         * lib/cns11643_4b.h: New file.
  631.         * lib/cns11643_4.h: New file.
  632.         * lib/cns11643_5.h: New file.
  633.         * lib/cns11643_6.h: New file.
  634.         * lib/cns11643_7.h: New file.
  635.         * lib/cns11643_15.h: New file.
  636.         * lib/cns11643_inv.h: Regenerated from Unicode 3.1 derived table.
  637.           (cns11643_inv_wctomb): Return 3 bytes now.
  638.         * lib/cns11643.h: Include cns11643_4.h, cns11643_5.h, cns11643_6.h,
  639.           cns11643_7.h, cns11643_15.h.
  640.           (cns11643_wctomb): Now a simple alias to cns11643_inv_wctomb. Return
  641.           plane number starting at 1, not 0.
  642.         * lib/dec_hanyu.h (dec_hanyu_wctomb): Update for cns11643_wctomb
  643.           change.
  644.         * lib/euc_tw.h (euc_tw_mbtowc): Accept CNS11643 planes 4,5,6,7,15 as
  645.           well.
  646.           (euc_tw_wctomb): Update for cns11643_wctomb change.
  647.         * lib/iso2022_cn.h (iso2022_cn_wctomb): Likewise.
  648.         * lib/iso2022_cnext.h (iso2022_cn_ext_mbtowc): Accept CNS11643 planes
  649.           4,5,6,7 as well.
  650.           (iso2022_cn_ext_wctomb): Update for cns11643_wctomb change.
  651.           Try CNS11643 planes 4,5,6,7 as well.
  652.         * tests/EUC-TW.TXT: Many additions, mostly in planes 3,4,5,6,7,15.
  653.         * tests/EUC-TW.IRREVERSIBLE.TXT: Reflect additions to CNS11643 plane 1.
  654.           Add U+5344.
  655.  
  656. 2001-06-01  Bruno Haible  <haible@clisp.cons.org>
  657.  
  658.         * tests/table-from.c (bmp_only): New variable.
  659.           (ucs4_decode): If bmp_only, don't return characters outside Unicode
  660.           plane 0.
  661.           (main): When testing UTF-8 or GB18030, set bmp_only to 1. Don't print
  662.           a conversion line if ucs4_decode returns NULL.
  663.         * tests/table-to.c (main): When testing encodings other than UTF-8 and
  664.           GB18030, loop upto U+30000 instead of U+10000.
  665.  
  666. 2001-05-24  Bruno Haible  <haible@clisp.cons.org>
  667.  
  668.         * lib/converters.h (mbtowc_funcs): Add flushwc member function.
  669.         * lib/flushwc.h: New file.
  670.         * lib/cp1255.h: Include flushwc.h.
  671.           (cp1255_comp_table_data, cp1255_comp_table): New arrays.
  672.           (cp1255_mbtowc): Compose base and combining characters.
  673.           (cp1255_flushwc): New macro.
  674.         * lib/vietcomb.h (viet_comp_table_data, viet_comp_table): New arrays.
  675.         * lib/cp1258.h: Include flushwc.h.
  676.           (cp1258_mbtowc): Compose base and combining characters.
  677.           (cp1258_flushwc): New macro.
  678.         * lib/tcvn.h: Include flushwc.h.
  679.           (tcvn_mbtowc): Compose base and combining characters.
  680.           (tcvn_flushwc): New macro.
  681.         * lib/loop_unicode.h: (unicode_transliterate): New function, extracted
  682.           from unicode_loop_convert.
  683.           (unicode_loop_convert): Use unicode_transliterate.
  684.           (unicode_loop_reset): Call xxx_flushwc and output the resulting
  685.           character.
  686.         * lib/encodings.def: Add xxx_flushwc member.
  687.         * lib/encodings_aix.def: Likewise.
  688.         * lib/encodings_dos.def: Likewise.
  689.         * lib/encodings_local.def: Likewise.
  690.         * lib/encodings_osf1.def: Likewise.
  691.         * lib/genaliases.c: Add an argument to the DEFENCODING macro.
  692.         * lib/genaliases2.c: Likewise.
  693.         * lib/genflags.c: Likewise.
  694.         * lib/iconv.c: Likewise.
  695.         * tests/table-from.c (try): Reset the iconv descriptor before the main
  696.           call, and flush it afterwards.
  697.           (ucs4_decode): New function.
  698.           (main): Allow up to 3 Unicode characters output. Call ucs4_decode.
  699.         * tests/CP1255-snippet: New file.
  700.         * tests/CP1255-snippet.UTF-8: New file.
  701.         * tests/CP1258-snippet: New file.
  702.         * tests/CP1258-snippet.UTF-8: New file.
  703.         * tests/TCVN-snippet: New file.
  704.         * tests/TCVN-snippet.UTF-8: New file.
  705.         * tests/Makefile.in (check): Check combining behaviour of CP1255,
  706.           CP1258, TCVN.
  707.         * tests/Makefile.msvc (check): Likewise.
  708.         * tests/Makefile.os2 (check): Likewise.
  709.  
  710. 2001-05-22  Bruno Haible  <haible@clisp.cons.org>
  711.  
  712.         * lib/converters.h (RET_ILUNI): New macro.
  713.           (RET_ILSEQ): Change value to -1.
  714.           (RET_TOOFEW): Change value.
  715.         * lib/loop_unicode.h (unicode_loop_convert): Write RET_ILUNI instead
  716.           of 0. Update handling of xxx_mbtowc return value.
  717.         * lib/genflags.c (emit_encoding): Likewise.
  718.         * lib/ascii.h (ascii_wctomb): Use RET_ILUNI instead of RET_ILSEQ.
  719.         * lib/armscii_8.h (armscii_8_wctomb): Likewise.
  720.         * lib/big5.h (big5_wctomb): Likewise.
  721.         * lib/big5hkscs.h (big5hkscs_wctomb): Likewise.
  722.         * lib/ces_big5.h (ces_big5_wctomb): Likewise.
  723.         * lib/ces_gbk.h (ces_gbk_wctomb): Likewise.
  724.         * lib/cns11643.h (cns11643_wctomb): Likewise.
  725.         * lib/cns11643_inv.h (cns11643_inv_wctomb): Likewise.
  726.         * lib/cp437.h (cp437_wctomb): Likewise.
  727.         * lib/cp775.h (cp775_wctomb): Likewise.
  728.         * lib/cp850.h (cp850_wctomb): Likewise.
  729.         * lib/cp852.h (cp852_wctomb): Likewise.
  730.         * lib/cp855.h (cp855_wctomb): Likewise.
  731.         * lib/cp856.h (cp856_wctomb): Likewise.
  732.         * lib/cp857.h (cp857_wctomb): Likewise.
  733.         * lib/cp861.h (cp861_wctomb): Likewise.
  734.         * lib/cp862.h (cp862_wctomb): Likewise.
  735.         * lib/cp864.h (cp864_wctomb): Likewise.
  736.         * lib/cp865.h (cp865_wctomb): Likewise.
  737.         * lib/cp866.h (cp866_wctomb): Likewise.
  738.         * lib/cp869.h (cp869_wctomb): Likewise.
  739.         * lib/cp874.h (cp874_wctomb): Likewise.
  740.         * lib/cp922.h (cp922_wctomb): Likewise.
  741.         * lib/cp932ext.h (cp932ext_wctomb): Likewise.
  742.         * lib/cp932.h (cp932_wctomb): Likewise.
  743.         * lib/cp936ext.h (cp936ext_wctomb): Likewise.
  744.         * lib/cp949.h (cp949_wctomb): Likewise.
  745.         * lib/cp950ext.h (cp950ext_wctomb): Likewise.
  746.         * lib/cp950.h (cp950_wctomb): Likewise.
  747.         * lib/cp1046.h (cp1046_wctomb): Likewise.
  748.         * lib/cp1124.h (cp1124_wctomb): Likewise.
  749.         * lib/cp1129.h (cp1129_wctomb): Likewise.
  750.         * lib/cp1133.h (cp1133_wctomb): Likewise.
  751.         * lib/cp1250.h (cp1250_wctomb): Likewise.
  752.         * lib/cp1251.h (cp1251_wctomb): Likewise.
  753.         * lib/cp1252.h (cp1252_wctomb): Likewise.
  754.         * lib/cp1253.h (cp1253_wctomb): Likewise.
  755.         * lib/cp1254.h (cp1254_wctomb): Likewise.
  756.         * lib/cp1255.h (cp1255_wctomb): Likewise.
  757.         * lib/cp1256.h (cp1256_wctomb): Likewise.
  758.         * lib/cp1257.h (cp1257_wctomb): Likewise.
  759.         * lib/cp1258.h (cp1258_wctomb): Likewise.
  760.         * lib/dec_hanyu.h (dec_hanyu_wctomb): Likewise.
  761.         * lib/dec_kanji.h (dec_kanji_wctomb): Likewise.
  762.         * lib/euc_cn.h (euc_cn_wctomb): Likewise.
  763.         * lib/euc_jp.h (euc_jp_wctomb): Likewise.
  764.         * lib/euc_kr.h (euc_kr_wctomb): Likewise.
  765.         * lib/euc_tw.h (euc_tw_wctomb): Likewise.
  766.         * lib/gb12345ext.h (gb12345ext_wctomb): Likewise.
  767.         * lib/gb12345.h (gb12345_wctomb): Likewise.
  768.         * lib/gb18030ext.h (gb18030ext_wctomb): Likewise.
  769.         * lib/gb18030.h (gb18030_wctomb): Likewise.
  770.         * lib/gb18030uni.h (gb18030uni_wctomb): Likewise.
  771.         * lib/gb2312.h (gb2312_wctomb): Likewise.
  772.         * lib/gbkext_inv.h (gbkext_inv_wctomb): Likewise.
  773.         * lib/gbk.h (gbk_wctomb): Likewise.
  774.         * lib/georgian_academy.h (georgian_academy_wctomb): Likewise.
  775.         * lib/georgian_ps.h (georgian_ps_wctomb): Likewise.
  776.         * lib/hkscs.h (hkscs_wctomb): Likewise.
  777.         * lib/hp_roman8.h (hp_roman8_wctomb): Likewise.
  778.         * lib/hz.h (hz_wctomb): Likewise.
  779.         * lib/iso2022_cnext.h (iso2022_cn_ext_wctomb): Likewise.
  780.         * lib/iso2022_cn.h (iso2022_cn_wctomb): Likewise.
  781.         * lib/iso2022_jp1.h (iso2022_jp1_wctomb): Likewise.
  782.         * lib/iso2022_jp2.h (iso2022_jp2_wctomb): Likewise.
  783.         * lib/iso2022_jp.h (iso2022_jp_wctomb): Likewise.
  784.         * lib/iso2022_kr.h (iso2022_kr_wctomb): Likewise.
  785.         * lib/iso646_cn.h (iso646_cn_wctomb): Likewise.
  786.         * lib/iso646_jp.h (iso646_jp_wctomb): Likewise.
  787.         * lib/iso8859_1.h (iso8859_1_wctomb): Likewise.
  788.         * lib/iso8859_2.h (iso8859_2_wctomb): Likewise.
  789.         * lib/iso8859_3.h (iso8859_3_wctomb): Likewise.
  790.         * lib/iso8859_4.h (iso8859_4_wctomb): Likewise.
  791.         * lib/iso8859_5.h (iso8859_5_wctomb): Likewise.
  792.         * lib/iso8859_6.h (iso8859_6_wctomb): Likewise.
  793.         * lib/iso8859_7.h (iso8859_7_wctomb): Likewise.
  794.         * lib/iso8859_8.h (iso8859_8_wctomb): Likewise.
  795.         * lib/iso8859_9.h (iso8859_9_wctomb): Likewise.
  796.         * lib/iso8859_10.h (iso8859_10_wctomb): Likewise.
  797.         * lib/iso8859_13.h (iso8859_13_wctomb): Likewise.
  798.         * lib/iso8859_14.h (iso8859_14_wctomb): Likewise.
  799.         * lib/iso8859_15.h (iso8859_15_wctomb): Likewise.
  800.         * lib/iso8859_16.h (iso8859_16_wctomb): Likewise.
  801.         * lib/isoir165ext.h (isoir165ext_wctomb): Likewise.
  802.         * lib/isoir165.h (isoir165_wctomb): Likewise.
  803.         * lib/jisx0201.h (jisx0201_wctomb): Likewise.
  804.         * lib/jisx0208.h (jisx0208_wctomb): Likewise.
  805.         * lib/jisx0212.h (jisx0212_wctomb): Likewise.
  806.         * lib/johab.h (johab_wctomb): Likewise.
  807.         * lib/johab_hangul.h (johab_hangul_wctomb, johab_hangul_decompose):
  808.           Likewise.
  809.         * lib/koi8_r.h (koi8_r_wctomb): Likewise.
  810.         * lib/koi8_ru.h (koi8_ru_wctomb): Likewise.
  811.         * lib/koi8_u.h (koi8_u_wctomb): Likewise.
  812.         * lib/ksc5601.h (ksc5601_wctomb): Likewise.
  813.         * lib/mac_arabic.h (mac_arabic_wctomb): Likewise.
  814.         * lib/mac_centraleurope.h (mac_centraleurope_wctomb): Likewise.
  815.         * lib/mac_croatian.h (mac_croatian_wctomb): Likewise.
  816.         * lib/mac_cyrillic.h (mac_cyrillic_wctomb): Likewise.
  817.         * lib/mac_greek.h (mac_greek_wctomb): Likewise.
  818.         * lib/mac_hebrew.h (mac_hebrew_wctomb): Likewise.
  819.         * lib/mac_iceland.h (mac_iceland_wctomb): Likewise.
  820.         * lib/mac_roman.h (mac_roman_wctomb): Likewise.
  821.         * lib/mac_romania.h (mac_romania_wctomb): Likewise.
  822.         * lib/mac_thai.h (mac_thai_wctomb): Likewise.
  823.         * lib/mac_turkish.h (mac_turkish_wctomb): Likewise.
  824.         * lib/mac_ukraine.h (mac_ukraine_wctomb): Likewise.
  825.         * lib/mulelao.h (mulelao_wctomb): Likewise.
  826.         * lib/nextstep.h (nextstep_wctomb): Likewise.
  827.         * lib/sjis.h (sjis_wctomb): Likewise.
  828.         * lib/tcvn.h (tcvn_wctomb): Likewise.
  829.         * lib/tis620.h (tis620_wctomb): Likewise.
  830.         * lib/ucs2be.h (ucs2be_wctomb): Likewise.
  831.         * lib/ucs2.h (ucs2_wctomb): Likewise.
  832.         * lib/ucs2internal.h (ucs2internal_wctomb): Likewise.
  833.         * lib/ucs2le.h (ucs2le_wctomb): Likewise.
  834.         * lib/ucs2swapped.h (ucs2swapped_wctomb): Likewise.
  835.         * lib/ucs4.h (ucs4_wctomb): Likewise.
  836.         * lib/uhc_1.h (uhc_1_wctomb): Likewise.
  837.         * lib/uhc_2.h (uhc_2_wctomb): Likewise.
  838.         * lib/utf16be.h (utf16be_wctomb): Likewise.
  839.         * lib/utf16.h (utf16_wctomb): Likewise.
  840.         * lib/utf16le.h (utf16le_wctomb): Likewise.
  841.         * lib/utf32be.h (utf32be_wctomb): Likewise.
  842.         * lib/utf32.h (utf32_wctomb): Likewise.
  843.         * lib/utf32le.h (utf32le_wctomb): Likewise.
  844.         * lib/utf7.h (utf7_wctomb): Likewise.
  845.         * lib/utf8.h (utf8_wctomb): Likewise.
  846.         * lib/viscii.h (viscii_wctomb): Likewise.
  847.         * tools/8bit_tab_to_h.c (main): Likewise.
  848.         * tools/cjk_tab_to_h.c (output_uni2charset_dense,
  849.            output_uni2charset_sparse, do_gb18030uni): Likewise.
  850.  
  851. 2001-05-19  Bruno Haible  <haible@clisp.cons.org>
  852.  
  853.         * Makefile.devel (all): Add man/{iconv.1,iconv*.3}.html.
  854.           (man/%.html): New rule.
  855.         * man/Makefile.in (docdir, htmldir): New variables.
  856.           (install, installdirs): Install the HTML formatted man pages in
  857.           $(htmldir).
  858.           (uninstall): Uninstall them.
  859.  
  860. 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
  861.  
  862.         * lib/cp1255.h (cp1255_decomp_table): New array.
  863.           (cp1255_comb_table): New array.
  864.           (cp1255_wctomb): Decompose Unicode characters.
  865.         * tests/CP1255.IRREVERSIBLE.TXT: New file.
  866.  
  867. 2001-05-13  Bruno Haible  <haible@clisp.cons.org>
  868.  
  869.         * lib/vietcomb.h: New file.
  870.         * lib/cp1258.h: Include it.
  871.           (cp1258_comb_table): New array.
  872.           (cp1258_wctomb): Decompose Unicode characters.
  873.         * lib/tcvn.h: Include it.
  874.           (tcvn_comb_table): New array.
  875.           (tcvn_wctomb): Decompose Unicode characters.
  876.         * tests/CP1258.IRREVERSIBLE.TXT: New file.
  877.         * tests/TCVN.IRREVERSIBLE.TXT: New file.
  878.  
  879. 2001-05-06  Bruno Haible  <haible@clisp.cons.org>
  880.  
  881.         * lib/Makefile.msvc (config.h): Allow the 'del' command to fail.
  882.         (iconv.lib): Likewise.
  883.  
  884. 2001-05-06  Bruno Haible  <haible@clisp.cons.org>
  885.  
  886.         * lib/Makefile.in (CPPFLAGS, LDFLAGS): New variables.
  887.         (CPP): Remove variable.
  888.         (libiconv.la, libiconv_plug_linux.so, libiconv_plug_solaris.so,
  889.          libiconv_plug_osf.so): Use LDFLAGS.
  890.         (libiconv_plug_linux.so, libiconv_plug_solaris.so,
  891.          libiconv_plug_osf.so, iconv.lo): Use CPPFLAGS.
  892.         * lib/Makefile.msvc (CPP): Remove variable.
  893.         * src/Makefile.in (CPPFLAGS, LDFLAGS): New variables.
  894.         (CPP): Remove variable.
  895.         (iconv): Use CPPFLAGS and LDFLAGS.
  896.         * src/Makefile.msvc (CPP): Remove variable.
  897.         * tests/Makefile.in (CPPFLAGS, LDFLAGS): New variables.
  898.         (check, table-from, table-to): Use CPPFLAGS and LDFLAGS.
  899.         * tests/Makefile.msvc (CPP): Remove variable.
  900.  
  901. 2001-05-06  Bruno Haible  <haible@clisp.cons.org>
  902.  
  903.         * lib/Makefile.in (libiconv_plug_solaris.so): Change rule if not using
  904.           gcc. Reported by Paananen Mikko <mikkopa@cs.tut.fi>.
  905.  
  906. 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
  907.  
  908.         Implement and document UTF-32, UTF-32BE, UTF-32LE.
  909.         * src/utf32.h, src/utf32be.h, src/utf32le.h: New files.
  910.         * src/converters.h: Include them.
  911.         * src/encodings.def (UTF-32, UTF-32BE, UTF32LE): New encodings.
  912.         * README, man/iconv_open.3: Add UTF-32, UTF-32BE, UTF32LE.
  913.         * tests/Makefile.in (check): Check UTF-32, UTF-32BE, UTF32LE.
  914.         * tests/Makefile.os2 (check): Likewise.
  915.         * tests/Makefile.msvc (check): Likewise.
  916.         * tests/UTF-32*snippet*: New files.
  917.  
  918.         * lib/ucs4.h (ucs4_mbtowc): Fix value of other-endian byte order.
  919.           (ucs4_wctomb): Allow any 31-bit codepoint.
  920.  
  921. 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
  922.  
  923.         * tests/GB18030.TXT: Add mappings for all of U+0000..U+FFFF, including
  924.           unassigned code points.
  925.         * tests/table-from.c (main); When dumping GB18030, don't print code
  926.           points larger than U+FFFF.
  927.  
  928. 2001-03-30  Bruno Haible  <haible@clisp.cons.org>
  929.  
  930.         * tools/Makefile (GB18030uni.TXT): Use a table source which includes
  931.           the unassigned Unicode code points.
  932.         * lib/gb18030uni.h: Update.
  933.           (gb18030uni_ranges): Remove bitmap_offset field.
  934.           (gb18030uni_bitmap): Remove array.
  935.           (gb18030uni_mbtowc): Omit gb18030uni_bitmap access.
  936.           (gb18030uni_wctomb): Likewise.
  937.         * lib/gb18030.h (gb18030_mbtowc): Handle Unicode characters >= 0x10000.
  938.           (gb18030_wctomb): Likewise.
  939.  
  940. 2001-03-21  Bruno Haible  <haible@clisp.cons.org>
  941.  
  942.         * INSTALL.generic (Particular Systems): Add recommendations for AIX 3.
  943.  
  944. 2001-03-21  Bruno Haible  <haible@clisp.cons.org>
  945.  
  946.         * src/iconv.c (print_version): Now called GNU libiconv.
  947.  
  948. 2001-03-20  Bruno Haible  <haible@clisp.cons.org>
  949.  
  950.         * README: This package is now called GNU libiconv.
  951.  
  952.         * tools/8bit_tab_to_h.c (main): Emit copyright notice to the output
  953.           file.
  954.         * tools/cjk_tab_to_h.c (output_title): Likewise.
  955.         * tools/cjk_variants.c (main): Likewise.
  956.         * lib/gentranslit.c (main): Likewise.
  957.  
  958. 2001-03-19  Bruno Haible  <haible@clisp.cons.org>
  959.  
  960.         * autoconf/aclocal.m4 (CL_CANONICAL_HOST): Always define
  961.           ac_config_guess and ac_config_sub. Then ignore requests for
  962.           AC_CONFIG_AUX_DIR_DEFAULT or AC_CANONICAL_HOST.
  963.  
  964. 2001-03-10  Bruno Haible  <haible@clisp.cons.org>
  965.  
  966.         * INSTALL.generic: New section "Particular Systems".
  967.  
  968. 2001-03-10  Bruno Haible  <haible@clisp.cons.org>
  969.  
  970.         * lib/Makefile.in (libiconv.la): Pass flag -no-undefined. Needed on
  971.           platforms like BeOS.
  972.  
  973.         * lib/loop_wchar.h (mbstate_t): Don't typedef if already #defined in
  974.           config.h.
  975.  
  976. 2001-03-06  Bruno Haible  <haible@clisp.cons.org>
  977.  
  978.         * Version 1.6 released.
  979.         * include/iconv.h.in (_LIBICONV_VERSION), README, windows/iconv.rc:
  980.           Bump version number.
  981.         * lib/Makefile.in (LIBICONV_VERSION_INFO): Define to 2:3:0.
  982.  
  983. 2001-03-05  Bruno Haible  <haible@clisp.cons.org>
  984.  
  985.         Provide all encodings used by OSF/1 5.1 locales.
  986.         * lib/dec_kanji.h: New file.
  987.         * lib/dec_hanyu.h: New file.
  988.         * lib/converters.h: Include them if USE_OSF1 is defined.
  989.         * lib/encodings_osf1.def: New file.
  990.         * lib/genflags.c (main): Include it. Define USE_OSF1.
  991.         * lib/genaliases2.c (main): Include it conditionally.
  992.         * lib/iconv.c: Define USE_OSF1 on OSF/1.
  993.           Include encodings_osf1.def and aliases_osf1.h.
  994.         * lib/Makefile.in (iconv.lo): Depend on encodings_osf1.def and
  995.           aliases_osf1.h.
  996.         * Makefile.devel (lib/aliases_osf1.h): New target.
  997.           (all): Depend on lib/aliases_osf1.h.
  998.           (lib/flags.h): Depend on lib/encodings_osf1.def.
  999.  
  1000. 2001-03-01  Bruno Haible  <haible@clisp.cons.org>
  1001.  
  1002.         * tools/Makefile (cp775.h): New target.
  1003.           (ALL): Add it.
  1004.         * lib/cp775.h: New file.
  1005.         * lib/converters.h: Include it.
  1006.         * lib/encodings_dos.def (CP775): New encoding.
  1007.  
  1008. 2001-02-25  Bruno Haible  <haible@clisp.cons.org>
  1009.  
  1010.         * lib/iconv.c (iconv_open): locale_charset() doesn't return NULL any
  1011.           more.
  1012.  
  1013. 2001-02-24  Bruno Haible  <haible@clisp.cons.org>
  1014.  
  1015.         * src/iconv.c (convert): Use ICONV_CONST.
  1016.         * tests/table-from.c: Include config.h.
  1017.           (try): Use ICONV_CONST.
  1018.         * tests/table-to.c: Include config.h.
  1019.           (main): Use ICONV_CONST.
  1020.         * tests/Makefile.in (INCLUDES): Add -I../lib.
  1021.         * tests/Makefile.os2 (INCLUDES): Likewise.
  1022.         * tests/Makefile.msvc (INCLUDES): Add -I..\lib.
  1023.  
  1024. 2001-02-24  Bruno Haible  <haible@clisp.cons.org>
  1025.  
  1026.         Provide all encodings used by DOS locales.
  1027.         * tools/Makefile (cp437.h, cp852.h, cp855.h, cp857.h, cp861.h,
  1028.            cp864.h, cp865.h, cp869.h): New targets.
  1029.           (ALL): Add them.
  1030.         * lib/cp437.h: New file.
  1031.         * lib/cp852.h: New file.
  1032.         * lib/cp855.h: New file.
  1033.         * lib/cp857.h: New file.
  1034.         * lib/cp861.h: New file.
  1035.         * lib/cp864.h: New file.
  1036.         * lib/cp865.h: New file.
  1037.         * lib/cp869.h: New file.
  1038.         * lib/converters.h: Include them if USE_DOS is defined.
  1039.         * lib/encodings_dos.def: New file.
  1040.         * lib/genflags.c (main): Include it. Define USE_DOS.
  1041.         * lib/genaliases2.c (main): Include it conditionally.
  1042.         * lib/iconv.c: Define USE_DOS on DJGPP.
  1043.           Include encodings_dos.def and aliases_dos.h.
  1044.         * lib/Makefile.in (iconv.lo): Depend on encodings_dos.def and
  1045.           aliases_dos.h.
  1046.         * Makefile.devel (lib/aliases_dos.h): New target.
  1047.           (all): Depend on lib/aliases_dos.h.
  1048.           (lib/flags.h): Depend on lib/encodings_dos.def.
  1049.  
  1050. 2001-02-23  Bruno Haible  <haible@clisp.cons.org>
  1051.  
  1052.         * src/iconv.c [DJGPP]: Include <io.h> and <unistd.h>.
  1053.           (SET_BINARY) [O_BINARY]: New macro.
  1054.           (usage): Mention --binary if available.
  1055.           (convert): Use SET_BINARY instead of setmode.
  1056.           (main): Likewise.
  1057.           Reported by Juan Manuel Guerrero <st001906@hrz1.hrz.tu-darmstadt.de>.
  1058.  
  1059. 2001-02-25  Bruno Haible  <haible@clisp.cons.org>
  1060.  
  1061.         * autoconf/ltconfig:
  1062.           sed -e 's/reload object files/produce relocatable object files/'.
  1063.  
  1064. 2001-02-20  Bruno Haible  <haible@clisp.cons.org>
  1065.  
  1066.         * src/iconv.c (usage, main): Make -f and -t options optional.
  1067.         * man/iconv.1: Mark them as optional.
  1068.  
  1069. 2001-02-20  Bruno Haible  <haible@clisp.cons.org>
  1070.  
  1071.         * tools/Makefile (GB18030ext.TXT, GB18030uni.TXT): Generate from
  1072.           glibc-2.2.2 table.
  1073.         * lib/gb18030uni.h, lib/gb18030ext.h: Add mapping 0xA989 -> U+303E,
  1074.           0xFE5E -> U+2E97. Shift the entire four-byte range.
  1075.         * tests/GB18030.TXT: Regenerated.
  1076.  
  1077. 2001-02-20  Bruno Haible  <haible@clisp.cons.org>
  1078.  
  1079.         Better support for DOS/Windows platforms.
  1080.         * autoconf/ltconfig: Upgrade to libtool-1.3.5.
  1081.         * autoconf/ltmain.sh: Likewise.
  1082.         * autoconf/aclocal.m4: Likewise.
  1083.         * autoconf/install-sh: New file.
  1084.         * configure.in: Call AC_OBJEXT and AC_EXEEXT. Call AC_CONFIG_AUX_DIR.
  1085.  
  1086. 2001-02-20  Bruno Haible  <haible@clisp.cons.org>
  1087.  
  1088.         * Makefile.in (libdir, includedir, mandir): Use the autoconf
  1089.           determined value, in order to respect the configure arguments.
  1090.         * lib/Makefile.in (libdir): Likewise.
  1091.         * src/Makefile.in (bindir): Likewise.
  1092.         * man/Makefile.in (mandir): Likewise.
  1093.  
  1094. 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
  1095.  
  1096.         * lib/translit.def: Add all the neutral transliterations from glibc.
  1097.         * lib/gentranslit.c (main): Allow UTF-8 replacements which are in
  1098.           UCS-2 but not in ISO-8859-1. Generate a table of 'unsigned short'.
  1099.           Avoid accessing data[-1].
  1100.         * lib/loop_unicode.h (unicode_loop_convert): Change type of pointer
  1101.           into translit_data.
  1102.  
  1103. 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
  1104.  
  1105.         Implement and document CP862.
  1106.         * tools/Makefile (ALL): Add cp862.h.
  1107.           (cp862.h): New target.
  1108.         * lib/cp862.h: New file.
  1109.         * lib/converters.h: Include it.
  1110.         * lib/encodings.def (CP862): New encoding.
  1111.         * README, man/iconv_open.3: Add CP862.
  1112.         * tests/Makefile.in (check): Check CP862.
  1113.         * tests/Makefile.msvc (check): Likewise.
  1114.         * tests/Makefile.os2 (check): Likewise.
  1115.         * tests/CP862.TXT: New file.
  1116.  
  1117. 2000-12-18  Bruno Haible  <haible@clisp.cons.org>
  1118.  
  1119.         * autoconf/mbstate_t.m4: New file, from textutils-2.0.10.
  1120.         * Makefile.devel (OTHERMACROS): Add it.
  1121.         * configure.in: Call AC_MBSTATE_T.
  1122.         * lib/config.h.in (mbstate_t): New definition.
  1123.         * lib/loop_wchar.h (mbrtowc): For BeOS, declare and define fallback.
  1124.  
  1125. 2000-12-12  Bruno Haible  <haible@clisp.cons.org>
  1126.  
  1127.         * Makefile.in: Use $(MAKE) instead of $(MAKE) -r. Needed with Solaris
  1128.           "make", which doesn't set MAKE as expected by @SET_MAKE@ if -r is
  1129.           given. Reported by Toshimitsu Fujiwara.
  1130.  
  1131. 2000-12-08  Bruno Haible  <haible@clisp.cons.org>
  1132.  
  1133.         * Makefile.in (exec_prefix): Use configure's --exec-prefix argument.
  1134.         * lib/Makefile.in (exec_prefix): Likewise.
  1135.         * src/Makefile.in (exec_prefix): Likewise.
  1136.         * man/Makefile.in (exec_prefix): Likewise.
  1137.  
  1138. 2000-12-02  Bruno Haible  <haible@clisp.cons.org>
  1139.  
  1140.         * Version 1.5 released.
  1141.         * include/iconv.h.in (_LIBICONV_VERSION), README, windows/iconv.rc:
  1142.           Bump version number.
  1143.         * lib/Makefile.in (LIBICONV_VERSION_INFO): Define to 2:2:0.
  1144.  
  1145. 2000-12-02  Bruno Haible  <haible@clisp.cons.org>
  1146.  
  1147.         * Makefile.in (mostlyclean, clean, distclean, maintainer-clean):
  1148.           Remove files installed in lib by libcharset.
  1149.         * Makefile.msvc (mostlyclean): Likewise.
  1150.  
  1151.         * Makefile.in (check): Depend on target 'all'.
  1152.         * Makefile.os2 (check): Likewise.
  1153.         * Makefile.msvc (check): Depend on target 'force' as well.
  1154.  
  1155.         * src/iconv.c (usage): Take an exitcode argument.
  1156.           (print_version): New function.
  1157.           (main): Recognize --help and --version command line options.
  1158.  
  1159. 2000-12-02  Bruno Haible  <haible@clisp.cons.org>
  1160.  
  1161.         * Makefile.msvc: Replace STATIC with its opposite flag, DLL.
  1162.         * lib/Makefile.msvc: Likewise.
  1163.         * src/Makefile.msvc: Likewise.
  1164.         * tests/Makefile.msvc: Likewise.
  1165.  
  1166. 2000-12-01  Bruno Haible  <haible@clisp.cons.org>
  1167.  
  1168.         * src/iconv.c: Include <fcntl.h>. Define fallbacks for setmode, fileno.
  1169.           (force_binary): New variable.
  1170.           (convert): If requested, set the input O_BINARY.
  1171.           (main): Accept --binary option. If requested, set the output O_BINARY.
  1172.         * tests/check-stateful.bat: Pass --binary to iconv.
  1173.         * tests/check-stateful.cmd: Likewise.
  1174.         * tests/check-translit.bat: Likewise.
  1175.         * tests/check-translit.cmd: Likewise.
  1176.  
  1177. 2000-12-01  Bruno Haible  <haible@clisp.cons.org>
  1178.  
  1179.         * include/iconv.h.in (_libiconv_version): New declaration.
  1180.         * lib/iconv.c (_libiconv_version): New variable.
  1181.  
  1182. 2000-11-30  Bruno Haible  <haible@clisp.cons.org>
  1183.  
  1184.         * Makefile.msvc (all): File now named lib/libcharset.h.
  1185.           (clean, distclean, maintainer-clean): Likewise.
  1186.  
  1187. 2000-11-23  Bruno Haible  <haible@clisp.cons.org>
  1188.  
  1189.         * lib/*: Move here all files from src/*.
  1190.         * src/*: Move all files to lib.
  1191.         * lib/Makefile.in (distclean): No need to remove config.status,
  1192.           config.log, config.cache.
  1193.         * configure.in: Require lib/iconv.c, not src/iconv.c. Create
  1194.           lib/config.h, not src/config.h. Also create lib/Makefile.
  1195.         * Makefile.in (all): Install libcharset into lib, not src. Recurse
  1196.           into lib and src.
  1197.           (install-lib): Recurse into lib, not src.
  1198.           (install): Recurse into libcharset, lib and src.
  1199.           (installdirs, uninstall): Likewise.
  1200.           (check, mostlyclean, clean, distclean, maintainer-clean): Likewise.
  1201.         * Makefile.msvc (all): Recurse into lib and src.
  1202.           (install): Recurse into libcharset, lib and src.
  1203.           (installdirs, uninstall): Likewise.
  1204.           (check, mostlyclean, clean, distclean, maintainer-clean): Likewise.
  1205.         * Makefile.os2 (all): Recurse into lib and src.
  1206.           (install-lib): Recurse into lib, not src.
  1207.           (install, uninstall): Recurse into lib and src.
  1208.           (check, mostlyclean, clean, distclean, maintainer-clean): Likewise.
  1209.         * Makefile.devel (lib/config.h.msvc): Renamed from src/config.h.msvc.
  1210.           (lib/aliases.h): Renamed from src/aliases.h.
  1211.           (lib/aliases.gperf): Renamed from src/aliases.gperf.
  1212.           (lib/aliases_aix.h): Renamed from src/aliases_aix.h.
  1213.           (lib/flags.h): Renamed from src/flags.h.
  1214.           (lib/translit.h): Renamed from src/translit.h.
  1215.         * src/iconv.c: Moved here from tests/iconv.c.
  1216.         * src/Makefile.in: New file.
  1217.         * src/Makefile.msvc: New file.
  1218.         * src/Makefile.os2: New file.
  1219.         * tests/Makefile.in (iconv): Remove target.
  1220.           (../lib/libiconv.la): Renamed from ../src/libiconv.la.
  1221.           (clean): No need to remove iconv.
  1222.         * tests/Makefile.msvc (iconv.exe): Remove target.
  1223.         * tests/Makefile.os2 (iconv.exe): Likewise.
  1224.         * tests/check-stateful: iconv is in ../src.
  1225.         * tests/check-stateful.bat: Likewise.
  1226.         * tests/check-stateful.cmd: Likewise.
  1227.         * tests/check-translit: iconv is in ../src.
  1228.         * tests/check-translit.bat: Likewise.
  1229.         * tests/check-translit.cmd: Likewise.
  1230.         * man/iconv.1: New file.
  1231.         * man/Makefile.in (install, installdirs, uninstall): Also install *.1
  1232.           man pages.
  1233.         * man/Makefile.os2 (MAN3): Renamed from MAN.
  1234.           (MAN1): New variable.
  1235.           (install, uninstall): Also install *.1 man pages.
  1236.  
  1237. 2000-11-21  Bruno Haible  <haible@clisp.cons.org>
  1238.  
  1239.         * Makefile.msvc (all, check, mostlyclean, clean, distclean,
  1240.            maintainer-clean): Recurse into libcharset.
  1241.           (clean, distclean, maintainer-clean): Remove src\libcharset.h.
  1242.         * src/Makefile.msvc (LIBCHARSET_OBJECTS): New variable.
  1243.           (iconv.lib): Link with $(LIBCHARSET_OBJECTS).
  1244.  
  1245. 2000-11-18  Bruno Haible  <haible@clisp.cons.org>
  1246.  
  1247.         * src/cp950.h (cp950_mbtowc, cp950_wctomb): Change implementation
  1248.           so that it agrees with Microsoft's definition of CP950.
  1249.         * tests/CP950.TXT: Likewise.
  1250.         * tests/CP950.IRREVERSIBLE.TXT: Add 0xA244, 0xA2CC, 0xA2CE.
  1251.  
  1252. 2000-11-18  Bruno Haible  <haible@clisp.cons.org>
  1253.  
  1254.         Add support for locale dependent "char" and "wchar_t" encodings.
  1255.         * libcharset: New subdirectory.
  1256.         * src/loop_unicode.h: New file, extracted from src/iconv.c.
  1257.         * src/loop_wchar.h: New file.
  1258.         * src/loops.h: New file. Include loop_unicode.h and loop_wchar.h.
  1259.         * src/encodings_local.def: New file.
  1260.         * src/genaliases.c: Also create aliases for encodings_local.def.
  1261.         * src/converters.h (conv_struct): Add lfuncs field.
  1262.         * src/genflags.c: Add dummy definitions of struct loop_funcs.
  1263.         * src/iconv.c: Include libcharset.h.
  1264.           (loop_funcs): New structure.
  1265.           Treat encodings_local.def like encodings.def.
  1266.           Include loops.h.
  1267.           (iconv_open): Move the bulk of the code to loop_unicode.h.
  1268.           (iconv): Likewise.
  1269.           (iconvctl): Extend determination of TRIVIALP to wchar_t conversion
  1270.           descriptors.
  1271.         * src/Makefile.in (PLUG_SOURCES): Remove variable.
  1272.           (LIBCHARSET_OBJECTS): New variable.
  1273.           (libiconv.la): Link in the LIBCHARSET_OBJECTS.
  1274.           (libiconv_plug_linux.so, libiconv_plug_solaris.so,
  1275.            libiconv_plug_osf.so): Link in the LIBCHARSET_OBJECTS, using
  1276.           LIBTOOL_LINK.
  1277.           (iconv.lo): Depend on encodings_local.def.
  1278.         * src/Makefile.msvc (iconv.obj): Depend on encodings_local.def.
  1279.         * src/Makefile.os2 (iconv.obj): Likewise.
  1280.         * configure.in: Add tests for locale.h, mbrtowc, wcrtomb, setlocale.
  1281.           Recurse into libcharset.
  1282.         * src/config.h.in (HAVE_LOCALE_H, HAVE_MBRTOWC, HAVE_WCRTOMB,
  1283.            HAVE_SETLOCALE): New macros.
  1284.         * tests/iconv.c: Include config.h and locale.h.
  1285.           (main): Call setlocale.
  1286.         * tests/Makefile.in (iconv): Search for config.h in ../src.
  1287.         * tests/Makefile.os2 (iconv.exe): Likewise.
  1288.         * tests/Makefile.msvc (iconv.exe): Likewise.
  1289.         * README, man/iconv_open.3: Document "char" and "wchar_t" encodings.
  1290.         * Makefile.in: After "cd", use "&&" not ";".
  1291.           (all, check, mostlyclean, clean, distclean, maintainer-clean):
  1292.           Recurse into libcharset.
  1293.         * Makefile.devel (all): Recurse into libcharset.
  1294.           (src/aliases.gperf): Depend on src/encodings_local.def.
  1295.  
  1296. 2000-11-18  Bruno Haible  <haible@clisp.cons.org>
  1297.  
  1298.         * src/converters.h (ucs4_t): New type.
  1299.           (wchar_t): Remove locally defined override.
  1300.           (mbtowc_funcs, wctomb_funcs): Use ucs4_t instead of wchar_t.
  1301.         * src/iconv.c (iconv): Likewise.
  1302.         * src/genflags.c (emit_encoding): Use ucs4_t instead of wchar_t.
  1303.         * tools/8bit_tab_to_h.c: Use "ucs4_t" instead of "wchar_t".
  1304.         * tools/cjk_tab_to_h.c: Likewise.
  1305.         * src/armscii_8.h: Use ucs4_t instead of wchar_t.
  1306.         * src/ascii.h: Likewise.
  1307.         * src/big5.h: Likewise.
  1308.         * src/big5hkscs.h: Likewise.
  1309.         * src/ces_big5.h: Likewise.
  1310.         * src/ces_gbk.h: Likewise.
  1311.         * src/cns11643.h: Likewise.
  1312.         * src/cns11643_1.h: Likewise.
  1313.         * src/cns11643_2.h: Likewise.
  1314.         * src/cns11643_3.h: Likewise.
  1315.         * src/cns11643_inv.h: Likewise.
  1316.         * src/cp1046.h: Likewise.
  1317.         * src/cp1124.h: Likewise.
  1318.         * src/cp1129.h: Likewise.
  1319.         * src/cp1133.h: Likewise.
  1320.         * src/cp1250.h: Likewise.
  1321.         * src/cp1251.h: Likewise.
  1322.         * src/cp1252.h: Likewise.
  1323.         * src/cp1253.h: Likewise.
  1324.         * src/cp1254.h: Likewise.
  1325.         * src/cp1255.h: Likewise.
  1326.         * src/cp1256.h: Likewise.
  1327.         * src/cp1257.h: Likewise.
  1328.         * src/cp1258.h: Likewise.
  1329.         * src/cp850.h: Likewise.
  1330.         * src/cp856.h: Likewise.
  1331.         * src/cp866.h: Likewise.
  1332.         * src/cp874.h: Likewise.
  1333.         * src/cp922.h: Likewise.
  1334.         * src/cp932.h: Likewise.
  1335.         * src/cp932ext.h: Likewise.
  1336.         * src/cp936ext.h: Likewise.
  1337.         * src/cp949.h: Likewise.
  1338.         * src/cp950.h: Likewise.
  1339.         * src/cp950ext.h: Likewise.
  1340.         * src/euc_cn.h: Likewise.
  1341.         * src/euc_jp.h: Likewise.
  1342.         * src/euc_kr.h: Likewise.
  1343.         * src/euc_tw.h: Likewise.
  1344.         * src/gb12345.h: Likewise.
  1345.         * src/gb12345ext.h: Likewise.
  1346.         * src/gb18030.h: Likewise.
  1347.         * src/gb18030ext.h: Likewise.
  1348.         * src/gb18030uni.h: Likewise.
  1349.         * src/gb2312.h: Likewise.
  1350.         * src/gbk.h: Likewise.
  1351.         * src/gbkext1.h: Likewise.
  1352.         * src/gbkext2.h: Likewise.
  1353.         * src/gbkext_inv.h: Likewise.
  1354.         * src/georgian_academy.h: Likewise.
  1355.         * src/georgian_ps.h: Likewise.
  1356.         * src/hkscs.h: Likewise.
  1357.         * src/hp_roman8.h: Likewise.
  1358.         * src/hz.h: Likewise.
  1359.         * src/iso2022_cn.h: Likewise.
  1360.         * src/iso2022_cnext.h: Likewise.
  1361.         * src/iso2022_jp.h: Likewise.
  1362.         * src/iso2022_jp1.h: Likewise.
  1363.         * src/iso2022_jp2.h: Likewise.
  1364.         * src/iso2022_kr.h: Likewise.
  1365.         * src/iso646_cn.h: Likewise.
  1366.         * src/iso646_jp.h: Likewise.
  1367.         * src/iso8859_1.h: Likewise.
  1368.         * src/iso8859_10.h: Likewise.
  1369.         * src/iso8859_13.h: Likewise.
  1370.         * src/iso8859_14.h: Likewise.
  1371.         * src/iso8859_15.h: Likewise.
  1372.         * src/iso8859_16.h: Likewise.
  1373.         * src/iso8859_2.h: Likewise.
  1374.         * src/iso8859_3.h: Likewise.
  1375.         * src/iso8859_4.h: Likewise.
  1376.         * src/iso8859_5.h: Likewise.
  1377.         * src/iso8859_6.h: Likewise.
  1378.         * src/iso8859_7.h: Likewise.
  1379.         * src/iso8859_8.h: Likewise.
  1380.         * src/iso8859_9.h: Likewise.
  1381.         * src/isoir165.h: Likewise.
  1382.         * src/isoir165ext.h: Likewise.
  1383.         * src/java.h: Likewise.
  1384.         * src/jisx0201.h: Likewise.
  1385.         * src/jisx0208.h: Likewise.
  1386.         * src/jisx0212.h: Likewise.
  1387.         * src/johab.h: Likewise.
  1388.         * src/johab_hangul.h: Likewise.
  1389.         * src/koi8_r.h: Likewise.
  1390.         * src/koi8_ru.h: Likewise.
  1391.         * src/koi8_u.h: Likewise.
  1392.         * src/ksc5601.h: Likewise.
  1393.         * src/mac_arabic.h: Likewise.
  1394.         * src/mac_centraleurope.h: Likewise.
  1395.         * src/mac_croatian.h: Likewise.
  1396.         * src/mac_cyrillic.h: Likewise.
  1397.         * src/mac_greek.h: Likewise.
  1398.         * src/mac_hebrew.h: Likewise.
  1399.         * src/mac_iceland.h: Likewise.
  1400.         * src/mac_roman.h: Likewise.
  1401.         * src/mac_romania.h: Likewise.
  1402.         * src/mac_thai.h: Likewise.
  1403.         * src/mac_turkish.h: Likewise.
  1404.         * src/mac_ukraine.h: Likewise.
  1405.         * src/mulelao.h: Likewise.
  1406.         * src/nextstep.h: Likewise.
  1407.         * src/sjis.h: Likewise.
  1408.         * src/tcvn.h: Likewise.
  1409.         * src/tis620.h: Likewise.
  1410.         * src/ucs2.h: Likewise.
  1411.         * src/ucs2be.h: Likewise.
  1412.         * src/ucs2internal.h: Likewise.
  1413.         * src/ucs2le.h: Likewise.
  1414.         * src/ucs2swapped.h: Likewise.
  1415.         * src/ucs4.h: Likewise.
  1416.         * src/ucs4be.h: Likewise.
  1417.         * src/ucs4internal.h: Likewise.
  1418.         * src/ucs4le.h: Likewise.
  1419.         * src/ucs4swapped.h: Likewise.
  1420.         * src/uhc_1.h: Likewise.
  1421.         * src/uhc_2.h: Likewise.
  1422.         * src/utf16.h: Likewise.
  1423.         * src/utf16be.h: Likewise.
  1424.         * src/utf16le.h: Likewise.
  1425.         * src/utf7.h: Likewise.
  1426.         * src/utf8.h: Likewise.
  1427.         * src/viscii.h: Likewise.
  1428.  
  1429. 2000-11-18  Bruno Haible  <haible@clisp.cons.org>
  1430.  
  1431.         Make transliteration optional.
  1432.         * src/iconv.c (iconv_open): Strip off //TRANSLIT suffix from names.
  1433.           Set transliteration on if and only if tocode ends in //TRANSLIT.
  1434.         * README, man/iconv_open.3: Document how to enable transliteration.
  1435.         * tests/check-translit: Add //TRANSLIT to iconv's 't' argument.
  1436.         * tests/check-translit.bat: Likewise.
  1437.         * tests/check-translit.cmd: Likewise.
  1438.  
  1439. 2000-11-18  Bruno Haible  <haible@clisp.cons.org>
  1440.  
  1441.         * man/iconv.3: Fix typo.
  1442.  
  1443. 2000-10-31  Bruno Haible  <haible@clisp.cons.org>
  1444.  
  1445.         * README, man/iconv_open.3: Document JOHAB again.
  1446.  
  1447. 2000-11-15  Bruno Haible  <haible@clisp.cons.org>
  1448.  
  1449.         * Makefile.msvc: Add support for MFLAGS and DEBUG parameters.
  1450.           (STATIC): Change default from 0 to 1.
  1451.         * src/Makefile.msvc: Likewise.
  1452.         * tests/Makefile.msvc: Likewise.
  1453.         * tests/check-stateless.bat: Call 'sort' with no arguments.
  1454.  
  1455. 2000-11-12  Bruno Haible  <haible@clisp.cons.org>
  1456.  
  1457.         * autoconf/config.guess, autoconf/config.sub: Upgrade to newest
  1458.           version from GNU CVS.
  1459.  
  1460. 2000-10-24  Bruno Haible  <haible@clisp.cons.org>
  1461.  
  1462.         * Version 1.4 released.
  1463.         * include/iconv.h.in (_LIBICONV_VERSION), README, windows/iconv.rc:
  1464.           Bump version number.
  1465.         * src/Makefile.in (LIBICONV_VERSION_INFO): Define to 2:1:0.
  1466.  
  1467. 2000-10-23  Bruno Haible  <haible@clisp.cons.org>
  1468.  
  1469.         Implement and document GB18030 and BIG5HKSCS.
  1470.         * tools/cjk_tab_to_h.c (row_byte_hkscs, byte_row_hkscs, do_hkscs): New
  1471.           functions.
  1472.           (do_gb18030uni): New function.
  1473.           (main): Accept gb18030ext, gb18030uni, hkscs.
  1474.         * tools/Makefile (ALL): Add gb18030ext.h, gb18030uni.h, hkscs.h.
  1475.           (gb18030ext.h, GB18030ext.TXT, gb18030uni.h, GB18030uni.TXT,
  1476.            hkscs.h): New targets.
  1477.         * src/gb18030ext.h, src/gb18030uni.h, src/gb18030.h: New files.
  1478.         * src/hkscs.h, src/big5hkscs.h: New files.
  1479.         * src/converters.h: Include gb18030.h and big5hkscs.h.
  1480.         * src/encodings.def (GB18030, BIG5HKSCS): New encodings.
  1481.         * README, man/iconv_open.3: Add GB18030, BIG5HKSCS.
  1482.         * tests/Makefile.in (check): Check GB18030, BIG5HKSCS.
  1483.         * tests/Makefile.msvc (check): Likewise.
  1484.         * tests/Makefile.os2 (check): Likewise.
  1485.         * tests/GB18030.TXT: New file.
  1486.         * tests/BIG5HKSCS.TXT, tests/BIG5HKSCS.IRREVERSIBLE.TXT: New files.
  1487.  
  1488. 2000-10-23  Bruno Haible  <haible@clisp.cons.org>
  1489.  
  1490.         * tests/table-from.c (try, main): Use UCS-4-INTERNAL instead of
  1491.           UCS-2-INTERNAL, to avoid problems with UCS-2 surrogate handling.
  1492.         * tests/table-to.c (main): Likewise.
  1493.  
  1494. 2000-10-22  Bruno Haible  <haible@clisp.cons.org>
  1495.  
  1496.         * src/gentranslit.c (main): Read the input in UTF-8 encoding.
  1497.  
  1498. 2000-10-09  Bruno Haible  <haible@clisp.cons.org>
  1499.  
  1500.         CPU recognition on OpenBSD.
  1501.         * autoconf/aclocal.m4 (CL_WORDS_LITTLEENDIAN): Recognize __m68k__,
  1502.           __mc68020__, __MIPSEB__, __MIPSEL__, __m88k__ as CPU indicators.
  1503.  
  1504. 2000-10-03  Bruno Haible  <haible@clisp.cons.org>
  1505.  
  1506.         * src/gentranslit.c (main): Don't output non-ASCII ISO-8859-1
  1507.           character literals, use the numeric value instead.
  1508.           Reported by Shin-Hsien Yeh <shyeh@alcatel.com.tw>.
  1509.  
  1510. 2000-09-29  Bruno Haible  <haible@clisp.cons.org>
  1511.  
  1512.         * autoconf/aclocal.m4 (CL_CANONICAL_HOST): Fix bug in 2000-05-23
  1513.           change.
  1514.  
  1515. 2000-09-25  Bruno Haible  <haible@clisp.cons.org>
  1516.  
  1517.         * autoconf/aclocal.m4 (CL_WORDS_LITTLEENDIAN): Recognize __i386__
  1518.           as equivalent to __i386. For OpenBSD.
  1519.  
  1520. 2000-09-21  Bruno Haible  <haible@clisp.cons.org>
  1521.  
  1522.         * src/utf16.h (utf16_wctomb): Reject single surrogates.
  1523.         * src/utf16be.h (utf16be_wctomb): Likewise.
  1524.         * src/utf16le.h (utf16le_wctomb): Likewise.
  1525.         * src/ucs2.h (ucs2_mbtowc, ucs2_wctomb): Likewise.
  1526.         * src/ucs2be.h (ucs2be_mbtowc, ucs2be_wctomb): Likewise.
  1527.         * src/ucs2le.h (ucs2le_mbtowc, ucs2le_wctomb): Likewise.
  1528.         * src/ucs2internal.h (ucs2internal_mbtowc, ucs2internal_wctomb):
  1529.           Likewise.
  1530.         * src/ucs2swapped.h (ucs2swapped_mbtowc, ucs2swapped_wctomb):
  1531.           Likewise.
  1532.  
  1533. 2000-09-15  Bruno Haible  <haible@clisp.cons.org>
  1534.  
  1535.         * Makefile.in (install, installdirs, uninstall): Support DESTDIR.
  1536.         * src/Makefile.in (install, installdirs, uninstall): Likewise.
  1537.         * man/Makefile.in (install, installdirs, uninstall): Likewise.
  1538.  
  1539. 2000-09-11  Bruno Haible  <haible@clisp.cons.org>
  1540.  
  1541.         * src/utf7.h (utf7_mbtowc): Fix combining of UTF-16 surrogates.
  1542.  
  1543. 2000-08-26  Bruno Haible  <haible@clisp.cons.org>
  1544.  
  1545.         * autoconf/acgeneral.m4 (AC_OUTPUT): Use braces in exec_prefix default
  1546.           value, not parens.
  1547.  
  1548. 2000-07-04  Akira Hatakeyama  <akira@sra.co.jp>
  1549.             Bruno Haible  <haible@clisp.cons.org>
  1550.  
  1551.         * os2/iconv.def, README.os2, Makefile.os2, src/Makefile.os2,
  1552.           tests/Makefile.os2, man/Makefile.os2, tests/check-stateful.cmd,
  1553.           tests/check-stateless.cmd, tests/check-translit.cmd: New files.
  1554.  
  1555. 2000-06-28  Bruno Haible  <haible@clisp.cons.org>
  1556.  
  1557.         * src/ucs2internal.h (ucs2internal_mbtowc): Avoid gcc warning about
  1558.           cast.
  1559.         * src/ucs4internal.h (ucs4internal_mbtowc): Likewise.
  1560.         * src/ucs2swapped.h (ucs2swapped_mbtowc, ucs2swapped_wctomb): Verify
  1561.           sizeof(unsigned short).
  1562.         * src/ucs4swapped.h (ucs4swapped_mbtowc, ucs4swapped_mbtowc): Verify
  1563.           sizeof(unsigned int).
  1564.         Reported by François Pinard <pinard@iro.umontreal.ca>.
  1565.  
  1566. 2000-05-29  Bruno Haible  <haible@clisp.cons.org>
  1567.  
  1568.         * autoconf/aclocal.m4 (CL_PROG_INSTALL): Fix typo.
  1569.         Reported by Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>.
  1570.  
  1571. 2000-05-23  Bruno Haible  <haible@clisp.cons.org>
  1572.  
  1573.         * autoconf/aclocal.m4 (CL_CANONICAL_HOST): Determine host_cpu,
  1574.           host_vendor, host_os correctly if $host has more than two hyphens.
  1575.  
  1576. 2000-04-15  Bruno Haible  <haible@clisp.cons.org>
  1577.  
  1578.         * Version 1.3 released.
  1579.         * include/iconv.h.in (_LIBICONV_VERSION), README, windows/iconv.rc:
  1580.           Bump version number.
  1581.         * src/Makefile.in (LIBICONV_VERSION_INFO): Define to 2:0:0.
  1582.  
  1583. 2000-04-15  Bruno Haible  <haible@clisp.cons.org>
  1584.  
  1585.         * THANKS: New file.
  1586.         * INSTALL.generic: New file.
  1587.  
  1588.         Implement and document UCS-2BE, UCS-2LE, UCS-4BE, UCS-4LE.
  1589.         * src/ucs2be.h, src/ucs2le.h, src/ucs4be.h, src/ucs4le.h: New files.
  1590.         * src/converters.h: Include them.
  1591.         * src/ucs2swapped.h: Remove #defines for UCS-2-BE, UCS-2-LE.
  1592.         * src/ucs4swapped.h: Remove #defines for UCS-4-BE, UCS-4-LE.
  1593.         * src/encodings.def (UCS-2BE): Renamed from UCS-2-BE.
  1594.           (UCS-2LE): Renamed from UCS-2-LE.
  1595.           (UCS-4BE): Renamed from UCS-4-BE.
  1596.           (UCS-4LE): Renamed from UCS-4-LE.
  1597.         * Makefile.devel (src/aliases.h): Pass option "-i 1" to gperf.
  1598.         * README, man/iconv_open.3: Add UCS-2BE, UCS-2LE, UCS-4BE, UCS-4LE.
  1599.         * tests/Makefile.in (check): Check UCS-2BE, UCS-2LE, UCS-4BE, UCS-4LE.
  1600.         * tests/Makefile.msvc (check): Likewise.
  1601.         * tests/UCS-*snippet*: New files.
  1602.  
  1603.         Allow building as a shared library on Windows.
  1604.         Allow running the tests on Windows.
  1605.         * Makefile.devel (include/iconv.h.msvc): Remove rule.
  1606.           (include/iconv.h.msvc-static, include/iconv.h.msvc-shared): New
  1607.           rules.
  1608.           (all): Update.
  1609.         * windows/dllexport.h: New file.
  1610.         * include/iconv.h.msvc: Remove file.
  1611.         * include/iconv.h.msvc-static, include/iconv.h.msvc-shared: New
  1612.           autogenerated files.
  1613.         * Makefile.msvc (STATIC, DEBUG): Default to 0.
  1614.           (all): Choose either include\iconv.h.msvc-static or
  1615.           include\iconv.h.msvc-shared.
  1616.           (check): Depend on all.
  1617.           (all, check, mostlyclean, clean, distclean, maintainer-clean):
  1618.           Recurse into tests directory.
  1619.         * src/Makefile.msvc (STATIC, DEBUG): Default to 0.
  1620.           (WARN_CFLAGS, PICFLAGS, OPTIMFLAGS): New variables.
  1621.           (CFLAGS): Use them. Add -MD and -DBUILDING_LIBICONV.
  1622.           (RESOURCES): New variable.
  1623.           (iconv.lib): Change rule when building DLL.
  1624.           (clean, distclean): One filename per line.
  1625.         * tests/Makefile.msvc: New file.
  1626.         * tests/check-stateful.bat, tests/check-stateless.bat,
  1627.           tests/check-translit.bat: New files.
  1628.         * tests/uniq-u.c: New file, taken from GNU textutils.
  1629.         * README.win32: Update.
  1630.         Based on patches by Taro Muraoka <koron@tka.att.ne.jp>.
  1631.  
  1632. 2000-04-14  Bruno Haible  <haible@clisp.cons.org>
  1633.  
  1634.         Fix an OSF/1 problem.
  1635.         * configure.in: Define GCC variable for substitution.
  1636.         * src/Makefile.in (libiconv_plug_osf.so): Change rule if not using
  1637.           gcc.
  1638.  
  1639. 2000-04-13  Bruno Haible  <haible@clisp.cons.org>
  1640.  
  1641.         Fix a SunOS 4 problem.
  1642.         * include/iconv.h.in: If EILSEQ is not defined by the system, define
  1643.           it to ENOENT, not EINVAL.
  1644.  
  1645. 2000-04-02  Bruno Haible  <haible@clisp.cons.org>
  1646.  
  1647.         Allow building on filesystems lacking symlinks and hard links.
  1648.         * Makefile.devel (autoconf/aclocal.m4): Replace AC_PROG_LN_S with
  1649.           CL_PROG_LN_S.
  1650.         * configure.in: Add CL_PROG_LN, CL_PROG_LN_S.
  1651.         * src/Makefile.in (LN): Use autoconfigured value @LN@.
  1652.           (LN_S): Use autoconfigured value @LN_S@.
  1653.  
  1654. 2000-03-15  Bruno Haible  <haible@clisp.cons.org>
  1655.  
  1656.         * Version 1.2 released.
  1657.         * include/iconv.h.in (_LIBICONV_VERSION): Bump version number.
  1658.         * src/Makefile.in (LIBICONV_VERSION_INFO): Define to 1:1:1.
  1659.  
  1660. 2000-03-14  Bruno Haible  <haible@clisp.cons.org>
  1661.  
  1662.         Implement and document UTF-16BE and UTF16LE.
  1663.         * src/utf16be.h, src/utf16le.h: New files.
  1664.         * src/converters.h: Include them.
  1665.         * src/encodings.def (UTF-16BE, UTF16LE): New encodings.
  1666.         * README, man/iconv_open.3: Add UTF-16BE, UTF16LE.
  1667.         * tests/Makefile.in (check): Check UTF-16, UTF-16BE, UTF16LE.
  1668.         * tests/UTF-16*snippet*: New files.
  1669.  
  1670.         * src/utf16.h (utf16_wctomb): Output a byte order mark.
  1671.  
  1672. 2000-03-13  Bruno Haible  <haible@clisp.cons.org>
  1673.  
  1674.         Provide all encodings used by AIX locales.
  1675.         * tools/Makefile (all): Add cp856.h, cp922.h, cp1046.h, cp1124.h,
  1676.           cp1129.h.
  1677.           (cp856.h, cp922.h, cp1046.h, cp1124.h, cp1129.h): New targets.
  1678.         * src/cp856.h, src/cp922.h, src/cp943.h, src/cp1046.h, src/cp1124.h,
  1679.           src/cp1129.h: New files.
  1680.         * src/converters.h: Include them if USE_AIX is defined.
  1681.         * src/encodings_aix.def: New file, with CP856, CP922, CP943, CP1046,
  1682.           CP1124, CP1129.
  1683.         * src/genflags.c: Define USE_AIX. Include encodings_aix.def.
  1684.         * src/genaliases2.c: New file.
  1685.         * src/iconv.c: Define USE_AIX on AIX.
  1686.           Include encodings_aix.def and aliases_aix.h.
  1687.           (aliases2_lookup): New function.
  1688.           (iconv_open): Call aliases2_lookup.
  1689.         * src/Makefile.in (iconv.lo): Depend on encodings_aix.def and
  1690.           aliases_aix.h.
  1691.         * Makefile.devel (all): Add src/aliases_aix.h.
  1692.           (src/aliases_aix.h): New rule.
  1693.           (src/flags.h): Depend on src/encodings_aix.def.
  1694.  
  1695. 2000-02-24  Bruno Haible  <haible@clisp.cons.org>
  1696.  
  1697.         * src/iconv.c (iconv): Don't write beyond the end of the output buffer.
  1698.           Reported by Edmund Grimley Evans <edmundo@rano.org>.
  1699.  
  1700. 2000-02-22  Bruno Haible  <haible@clisp.cons.org>
  1701.  
  1702.         * src/utf7.h (direct_tab, xdirect_tab): Treat tab like space.
  1703.  
  1704. 2000-02-15  Bruno Haible  <haible@clisp.cons.org>
  1705.  
  1706.         * src/iconv.c (iconv): Add cast in xxx_reset call.
  1707.  
  1708. 2000-02-05  Bruno Haible  <haible@clisp.cons.org>
  1709.  
  1710.         * src/tis620.h: Simplify.
  1711.  
  1712. 2000-01-27  Bruno Haible  <haible@clisp.cons.org>
  1713.  
  1714.         * Makefile.devel (CLISP_DIR): Change to "..".
  1715.  
  1716. 2000-01-24  Bruno Haible  <haible@clisp.cons.org>
  1717.  
  1718.         * Version 1.1 released.
  1719.         * include/iconv.h.in (_LIBICONV_VERSION): Bump version number.
  1720.         * src/Makefile.in (LIBICONV_VERSION_INFO): Define to 1:0:1.
  1721.  
  1722. 2000-01-23  Bruno Haible  <haible@clisp.cons.org>
  1723.  
  1724.         * src/utf7.h (utf7_wctomb): If base64 encoding is not active, encode
  1725.           '+' as "+-".
  1726.  
  1727. 2000-01-22  Bruno Haible  <haible@clisp.cons.org>
  1728.  
  1729.         * include/iconv.h.in (iconvctl): New declaration.
  1730.           (ICONV_TRIVIALP, ICONV_GET_TRANSLITERATE, ICONV_SET_TRANSLITERATE):
  1731.           New macros.
  1732.         * src/iconv.c (iconvctl): New function.
  1733.  
  1734.         * tests/Makefile.in: Add a rule for ../src/libiconv.la. Define $(MAKE).
  1735.  
  1736.         Solve a build problem.
  1737.         * include/iconv.h.in: Renamed from include/libiconv.h.in.
  1738.         * Makefile.devel: libiconv.h -> iconv.h.
  1739.         * Makefile.in: Likewise.
  1740.         * configure.in: Likewise. Remove check for <iconv.h>.
  1741.         * src/iconv.c: Include iconv.h instead of libiconv.h.
  1742.         * tests/iconv.c, tests/table-from.c, tests/table-to.c: Likewise.
  1743.  
  1744.         * README, man/iconv_open.3: Don't document JOHAB any more.
  1745.  
  1746.         * man/iconv.3: Clarify return value again.
  1747.  
  1748. 2000-01-16  Bruno Haible  <haible@clisp.cons.org>
  1749.  
  1750.         Add aliases.
  1751.         * src/encodings.def (ISO-8859-14): Add alias ISO-IR-199.
  1752.           (ISO-8859-15): Add alias ISO-IR-203.
  1753.           (EUC-CN): Add alias CN-GB, from RFC 1922.
  1754.           (BIG5): Add alias CN-BIG5, from RFC 1922.
  1755.         * Makefile.devel (src/aliases.h): Add 8th character to key set.
  1756.  
  1757.         Drop X11 aliases.
  1758.         * src/encodings.def (JIS_X0201): Drop JISX0201.1976-0 alias.
  1759.           (JIS_X0208): Drop JIS_X0208.1983-0, JIS_X0208.1983-1 aliases.
  1760.           (KSC_5601): Drop KSC5601.1987-0 alias.
  1761.  
  1762.         Improve GB/T 12345 (not used yet).
  1763.         * tools/Makefile (gb12345ext.h): Use GB12345-more.TXT.
  1764.         * src/gb12345ext.h: Regenerated.
  1765.  
  1766.         Improve and document CP949.
  1767.         * tools/Makefile (all): Add uhc_1.h and uhc_2.h.
  1768.           (uhc_1.h, uhc_2.h): New rules.
  1769.         * tools/cjk_tab_to_h.c (output_charset2uni_noholes_monotonic): New
  1770.           function.
  1771.           (output_uni2charset_sparse): Take an additional boolean argument.
  1772.           All callers changed.
  1773.           (*_uhc_1, *_uhc_2): New functions.
  1774.           (main): Treat uhc_1 and uhc_2.
  1775.         * src/uhc_1.h, src/uhc_2.h: New files.
  1776.         * src/cp949.h: New file, include them.
  1777.         * src/converters.h: Include it.
  1778.         * src/encodings.def (KSC_5601): Remove alias CP949.
  1779.           (CP949): New encoding.
  1780.         * README, man/iconv_open.3: Add CP949.
  1781.         * tests/Makefile.in (check): Check CP949.
  1782.         * tests/CP949.TXT: New file.
  1783.  
  1784.         Document CP932.
  1785.         * README, man/iconv_open.3: Add CP932.
  1786.         * tests/Makefile.in (check): Check CP932.
  1787.         * tests/CP932.TXT, tests/CP932.IRREVERSIBLE.TXT: New files.
  1788.  
  1789.         * Makefile.devel (src/flags.h): Depend on src/converters.h.
  1790.  
  1791.         * tests/Makefile.in (check): Check JIS_X0201.
  1792.         * tests/JIS_X0201.TXT: New file.
  1793.  
  1794.         * src/euc_kr.h (euc_kr_wctomb): Shrink size of buf.
  1795.         * src/iso2022_kr.h (iso2022_kr_wctomb): Likewise.
  1796.  
  1797.         * src/iso2022_cnext.h (iso2022_cn_ext_mbtowc): Use isoir165_mbtowc.
  1798.           (iso2022_cn_ext_wctomb): Use isoir165_wctomb.
  1799.  
  1800.         Add ISO-IR-165 (undocumented).
  1801.         * tools/Makefile (all): Add isoir165ext.h.
  1802.           (isoir165ext.h): New rule.
  1803.         * tools/cjk_tab_to_h.c (main): Treat isoir165ext like gb2312.
  1804.         * src/isoir165.h, src/isoir165ext.h: New files.
  1805.         * src/converters.h: Include it.
  1806.         * src/encodings.def: Add ISO-IR-165.
  1807.         * tests/Makefile.in (check): Check ISO-IR-165.
  1808.         * tests/ISO-IR-165.TXT, tests/ISO-IR-165.IRREVERSIBLE.TXT: New files.
  1809.  
  1810.         Add ISO646-CN (undocumented).
  1811.         * src/iso646_cn.h: New file.
  1812.         * src/converters.h: Include it.
  1813.         * src/encodings.def: Add ISO646-CN.
  1814.         * tests/Makefile.in (check): Check ISO646-CN.
  1815.         * tests/ISO646-CN.TXT: New file.
  1816.  
  1817.         Add ISO646-JP (undocumented).
  1818.         * src/iso646_jp.h: New file.
  1819.         * src/converters.h: Include it.
  1820.         * src/encodings.def: Add ISO646-JP.
  1821.         * tests/Makefile.in (check): Check ISO646-JP.
  1822.         * tests/ISO646-JP.TXT: New file.
  1823.  
  1824. 2000-01-05  Bruno Haible  <haible@clisp.cons.org>
  1825.  
  1826.         Add ISO-8859-16.
  1827.         * tools/Makefile (all): Add iso8859_16.h.
  1828.           (iso8859_16.h): New rule.
  1829.         * src/iso8859_16.h: New file.
  1830.         * src/converters.h: Include it.
  1831.         * src/encodings.def: Add ISO-8859-16.
  1832.         * README, man/iconv_open.3: Add ISO-8859-16.
  1833.         * tests/Makefile.in (check): Check ISO-8859-16.
  1834.         * tests/ISO-8859-16.TXT: New file.
  1835.  
  1836.         * man/iconv.3: Clarify what happens *inbuf in case 3.
  1837.  
  1838.         * src/iso8859_8.h: Update using newest table from ftp.unicode.org.
  1839.         * tests/ISO-8859-8.TXT: Likewise.
  1840.  
  1841. 2000-01-04  Bruno Haible  <haible@clisp.cons.org>
  1842.  
  1843.         * Version 1.0 released.
  1844.         * include/libiconv.h.in (_LIBICONV_VERSION): Bump version number.
  1845.         * src/Makefile.in (LIBICONV_VERSION_INFO): Define to 0:1:0.
  1846.           (libiconv.la): Use LIBICONV_VERSION_INFO.
  1847.  
  1848. 2000-01-03  Bruno Haible  <haible@clisp.cons.org>
  1849.  
  1850.         * tests/Makefile.in: New file.
  1851.           tests/check-stateless, tests/table-from.c, tests/table-to.c,
  1852.           tests/*.TXT, tests/genutf8.c: New files, checks for stateless
  1853.           encodings.
  1854.           tests/check-stateful, tests/iconv.c, tests/*-snippet*: New files,
  1855.           checks for stateful encodings.
  1856.         * Makefile.in (all, check, mostlyclean, clean, distclean,
  1857.            maintainer-clean): Descend into tests directory.
  1858.         * configure.in: Add tests/Makefile to AC_OUTPUT duties.
  1859.  
  1860.         * src/gentranslit.c: New file.
  1861.         * Makefile.devel (src/translit.h): New rule.
  1862.         * src/translit.def, src/translit.h: New files.
  1863.         * src/iconv.c: Include it.
  1864.           (iconv): Transliterate using translit.h table.
  1865.  
  1866.         * src/genflags.c: New file.
  1867.         * Makefile.devel (src/flags.h): New rule.
  1868.         * src/flags.h: New file.
  1869.         * src/iconv.c: Include it.
  1870.           (encoding): Add field 'oflags'.
  1871.           (all_encodings): Initialize the field 'oflags'.
  1872.           (iconv_open): Copy field 'oflags'.
  1873.           (iconv): Transliterate quotation marks U+2018, U+2019, U+201A.
  1874.         * src/Makefile.in (iconv.lo): Update dependencies.
  1875.  
  1876.         * src/converters.h: New file, extracted from src/iconv.c.
  1877.         * src/iconv.c: Include it.
  1878.         * src/Makefile.in (iconv.lo): Update dependencies.
  1879.  
  1880.         * tools/cjk_variants.c: New file.
  1881.         * tools/Makefile (ALL): Add cjk_variants.h.
  1882.           (cjk_variants.h, cjk_variants): New rules.
  1883.         * src/cjk_variants.h: New file.
  1884.         * src/iconv.c: Include it.
  1885.           (iconv): Use cjk_variants for transliteration.
  1886.  
  1887.         * man/iconv.3: Fix description of return value.
  1888.         * euc_kr.h (euc_kr_wctomb): Remove Hangul transliteration.
  1889.         * iso2022_kr.h (iso2022kr_wctomb): Likewise.
  1890.         * src/iconv.c (iconv): Do Hangul transliteration here and increment
  1891.           result once for every transliterated character.
  1892.         * src/johab_hangul.h (johab_hangul_decompose): Change result array
  1893.           from 'unsigned char*' to 'wchar_t*'.
  1894.  
  1895.         * src/cp1258.h (cp1258_mbtowc): Return RET_ILSEQ instead of storing
  1896.           0xfffd.
  1897.  
  1898.         * src/georgian_ps.h (georgian_ps_wctomb): Accept 0x00e6.
  1899.  
  1900.         * src/euc_jp.h (euc_jp_wctomb): Don't treat U+005C and U+007E like
  1901.           Katakana.
  1902.  
  1903.         * src/euc_tw.h (euc_tw_mbtowc): Fix typo.
  1904.  
  1905.         * src/cp950.h (cp950_mbtowc, cp950_wctomb): Exclude the range
  1906.           0xC6A1..0xC7FE.
  1907.  
  1908.         * tools/cjk_tab_to_h.c (read_table_ksc5601): Some Hangul range was
  1909.           not being excluded. Fix that.
  1910.         * src/ksc5601.h: Regenerated.
  1911.         * src/johab.h (johab_mbtowc): Don't accept 0xDA{A1..D3} - this is
  1912.           valid in KSC5601/KSX1001 but not in JOHAB.
  1913.  
  1914.         * src/iconv.c (conv_struct): Add fields iindex, oindex.
  1915.           (iconv_open): Fill in iindex, oindex.
  1916.  
  1917.         * src/encodings.def (UCS-2-BE): Add aliases "UNICODE-1-1" and
  1918.           "csUnicode11", from IANA charset list.
  1919.           (MacRoman): Add aliases "MAC" and "csMacintosh" for "MACINTOSH",
  1920.           from IANA charset list.
  1921.           (JIS_X0208): Add aliases "X0208", "ISO-IR-87", "csISO87JISX0208",
  1922.           from IANA charset list.
  1923.           (GB_2312-80): New encoding, from IANA charset list.
  1924.  
  1925.         * README, man/iconv_open.3: Add MacIceland and MacUkraine.
  1926.  
  1927.         * Makefile.devel: Add rules for src/aliases.h and src/aliases.gperf.
  1928.           (all): Depend on src/aliases.h.
  1929.         * src/Makefile.in: Remove rules for $(srcdir)/aliases.h and
  1930.           $(srcdir)/aliases.gperf.
  1931.           (clean): Clean up.
  1932.  
  1933.         * src/Makefile.in (libiconv_plug_linux.so): Remove unneeded "-ldl".
  1934.  
  1935. 1999-12-31  Bruno Haible  <haible@clisp.cons.org>
  1936.  
  1937.         * Version 0.3 released.
  1938.  
  1939.